# HG changeset patch # User diego # Date 1363558854 0 # Node ID f5023d8238ce84eb42856205203dd34b7ba17134 # Parent 952818cdfe94890b67770c3bb728b04ff3492171 build: Add "-D_XOPEN_SOURCE=600 -I." to HOSTCFLAGS. These flags are required to build some of the host tools. diff -r 952818cdfe94 -r f5023d8238ce configure --- 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 \$@