mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Fix build with gcc from base, it doesn't undertand -Wno-tautological-constant-out-of-range-compare
and has no flag to disable this warning Phabric: D197 Reviewed by: bapt
This commit is contained in:
parent
d47fd3bfdc
commit
a5e11f9450
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357193
@ -16,13 +16,16 @@ OPTIONS_DEFINE= DEBUG
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
USES= libtool pathfix tar:bzip2
|
||||
CFLAGS= -Wno-tautological-constant-out-of-range-compare
|
||||
#CFLAGS= -Wno-tautological-constant-out-of-range-compare
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
DEBUG_CONFIGURE_ON= --enable-debug
|
||||
DEBUG_CONFIGURE_OFF= --enable-release
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's/-Werror //' ${WRKSRC}/configure
|
||||
|
||||
regression-test:
|
||||
@(cd ${WRKSRC}/misc && ./test_dr)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user