changeset 35899:f5023d8238ce

build: Add "-D_XOPEN_SOURCE=600 -I." to HOSTCFLAGS. These flags are required to build some of the host tools.
author diego
date Sun, 17 Mar 2013 22:20:54 +0000
parents 952818cdfe94
children 01ed7a1aec2d
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Mar 17 22:20:52 2013 +0000
+++ b/configure	Sun Mar 17 22:20:54 2013 +0000
@@ -8494,7 +8494,7 @@
 ASFLAGS    = \$(CFLAGS)
 AS_DEPFLAGS= $DEPFLAGS
 HOSTCC     = \$(HOST_CC)
-HOSTCFLAGS = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -O3
+HOSTCFLAGS = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I. -O3
 HOSTLIBS   = -lm
 AS_O       = -o \$@
 CC_O       = -o \$@