Browse Source

glibc: fixed stage 0 to not use the cpuid.h workaround if gcc 4.6 or 4.7 is installed on the build host

user/chris/next/0.4
Christian Wiese 12 years ago committed by Christian Wiese
parent
commit
faa03bab3f
  1. 2
      base/glibc/glibc.conf

2
base/glibc/glibc.conf

@ -26,7 +26,7 @@ if atstage toolchain; then
var_append SYSCPP_WRAPPER_REMOVE ' ' '-mabi*'
# if $HOSTCC is a gcc < 4.3 we need 'cpuid.h'
if ! $HOSTCC -dumpversion | grep -q '^4\.[345]' ; then
if ! $HOSTCC -dumpversion | grep -q '^4\.[3-7]' ; then
echo_warning "Old gcc detected: Working around cpuid.h support"
var_append SYSCC_WRAPPER_APPEND ' ' "-I$confdir/include-old-gcc"
fi

Loading…
Cancel
Save