mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
Fix build breakage due to the interplay between r189801 and r189824.
In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before r189824, these would have generated warnings if you tried to compile them in gnu99 mode, but the warnings went unheeded due to -Wno-error.)
This commit is contained in:
parent
a71f46d368
commit
14b55f2f95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189834
@ -18,6 +18,7 @@ GCC_TARGET= ${TARGET_ARCH}-undermydesk-freebsd
|
||||
CFLAGS+= -DIN_GCC -DHAVE_CONFIG_H
|
||||
CFLAGS+= -DPREFIX=\"${TOOLS_PREFIX}/usr\"
|
||||
#CFLAGS+= -DWANT_COMPILER_INVARIANTS
|
||||
CSTD?= gnu89
|
||||
|
||||
# If building 64-bit longs for the i386, "_LARGE_LONG" should also be defined
|
||||
# to get the proper sizes in limits.h
|
||||
|
@ -24,4 +24,6 @@ CFLAGS+=-I${WPA_DISTDIR}/src/utils
|
||||
CFLAGS+= -DCONFIG_CTRL_IFACE
|
||||
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
|
||||
|
||||
CSTD= gnu89 # XXX
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user