]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed glibc compilation.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jul 2009 21:47:30 +0000 (23:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 26 Jul 2009 21:47:30 +0000 (23:47 +0200)
THIS IS VERY BAD AND UGLY. WE (OR UPSTREAM) NEED TO FIX THIS.

lfs/gcc

diff --git a/lfs/gcc b/lfs/gcc
index e3ee1aa768ee992ed833abc4403bb82241474cb3..8b1ea5ce67ce1f38c876e4302832611c278ce606 100644 (file)
--- a/lfs/gcc
+++ b/lfs/gcc
@@ -55,7 +55,7 @@ define LONG_DESC
        You'll need this package in order to compile C code.
 endef
 
-CFLAGS     = -pipe
+CFLAGS     = -D__USE_XOPEN2K8 -pipe
 CXXFLAGS   =
 
 GMP        = $(shell grep ^PKG_VER $(DIR_LFS)/gmp  | awk '{ print $$3 }')