MFH: r474039
devel/avr-gcc: fix build with recent clang PR: 227650 Submitted by: dim@ Reported by: Kenji Rikitake Approved by: maintainer-timeout Approved by: portmgr (blanket: build fixes)
This commit is contained in:
parent
5f84ab9a62
commit
f3e629e031
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=474040
|
@ -57,6 +57,11 @@ BROKEN_mips64= Fails to configure: cannot compute suffix of object files
|
|||
ARCH= x86_64
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -type f \( -name '*.[ch]' -o -name '*.cc' \) | \
|
||||
${XARGS} ${EGREP} -l '"(HOST_WIDE|PLUGIN_COND|PRId64)' | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e 's/"(HOST_WIDE|PLUGIN_COND|PRId64)/" \1/g'
|
||||
|
||||
post-configure:
|
||||
${MKDIR} ${WRKSRC}/gcc/include
|
||||
|
||||
|
|
Loading…
Reference in New Issue