diff options
Diffstat (limited to 'glibcbug.in')
-rw-r--r-- | glibcbug.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/glibcbug.in b/glibcbug.in index cc570408f2..11ac4b5ee3 100644 --- a/glibcbug.in +++ b/glibcbug.in @@ -11,6 +11,7 @@ ADDONS="@subdirs@" HOST="@host@" CC='@CC@' CFLAGS="@CFLAGS@" +SYSINCLUDES="@SYSINCLUDES@" VERSIONING="@VERSIONING@" BUILD_STATIC="@static@" BUILD_SHARED="@shared@" @@ -21,9 +22,6 @@ BUILD_BOUNDED="@bounded@" BUILD_STATIC_NSS="@static_nss@" STDIO="@stdio@" -PATH=/bin:/usr/bin:/usr/local/bin:$PATH -export PATH - TEMP=`mktemp -q /tmp/glibcbugXXXXXX 2>/dev/null` if test $? -ne 0; then TEMP=/tmp/glibcbug.$$ @@ -108,9 +106,9 @@ MACHINE=`[ -f /bin/machine ] && /bin/machine` CCVERSION=`$CC -v 2>&1 | sed -n 's/gcc version //p'` case $HOST in *linux*) - KHDRS=`(echo '#include <linux/version.h> + KHDRS=`(echo '#include <linux/version.h>' echo '! UTS_RELEASE' ) | - $CC -E - | sed -n '/!/s/[! "]//gp'`;; + $CC $SYSINCLUDES -E - | sed -n '/!/s/[! "]//gp'`;; esac ORGANIZATION_C='<organization of PR author (multiple lines)>' |