mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Add --disable-Werror to fix the build with GCC 4.2
PR: 113108
This commit is contained in:
parent
415e48c682
commit
6eb2e21a15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192337
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ NOT_FOR_ARCHS= ia64
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
|
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
|
||||||
|
CONFIGURE_ARGS= --disable-Werror
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' ${WRKSRC}/configure
|
||||||
|
|
Loading…
Add table
Reference in a new issue