summaryrefslogtreecommitdiff
path: root/libc/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/posix/Makefile')
-rw-r--r--libc/posix/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/libc/posix/Makefile b/libc/posix/Makefile
index 5bf02ff0d..40631c525 100644
--- a/libc/posix/Makefile
+++ b/libc/posix/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999, 2000-2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 1991-1999, 2000-2006, 2007, 2009 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -357,7 +357,7 @@ getconf-cmd = $(objpfx)cross-getconf
# Get configuration defines for cross-getconf by preprocessing confstr.c.
$(objpfx)cross-getconf.h: confstr.c
- $(compile.c) -E -dM -o - | grep "define _POSIX_V6_ILP32_OFF32\|define _POSIX_V6_ILP32_OFFBIG\|define _POSIX_V6_LP64_OFF64\|define _POSIX_V6_LPBIG_OFFBIG" > $(objpfx)cross-getconf.h
+ $(compile.c) -E -dM -o - | grep "define _POSIX_V7_ILP32_OFF32\|define _POSIX_V7_ILP32_OFFBIG\|define _POSIX_V7_LP64_OFF64\|define _POSIX_V7_LPBIG_OFFBIG|_POSIX_V6_ILP32_OFF32\|define _POSIX_V6_ILP32_OFFBIG\|define _POSIX_V6_LP64_OFF64\|define _POSIX_V6_LPBIG_OFFBIG|_XBS5_ILP32_OFF32\|define _XBS5_ILP32_OFFBIG\|define _XBS5_LP64_OFF64\|define _XBS5_LPBIG_OFFBIG" > $(objpfx)cross-getconf.h
cross-getconf-CFLAGS = -O -I$(objpfx)
@@ -367,6 +367,10 @@ endif
$(objpfx)getconf.speclist: $(getconf-dep)
LC_ALL=C GETCONF_DIR=/dev/null \
- $(getconf-cmd) _POSIX_V6_WIDTH_RESTRICTED_ENVS > $@.new
+ $(getconf-cmd) _POSIX_V7_WIDTH_RESTRICTED_ENVS > $@.new
+ LC_ALL=C GETCONF_DIR=/dev/null \
+ $(getconf-cmd) _POSIX_V6_WIDTH_RESTRICTED_ENVS >> $@.new
+ LC_ALL=C GETCONF_DIR=/dev/null \
+ $(getconf-cmd) _XBS5_WIDTH_RESTRICTED_ENVS >> $@.new
mv -f $@.new $@
# eglibc: end.