|
|
@ -26,7 +26,7 @@ if atstage toolchain; then |
|
|
|
var_append SYSCPP_WRAPPER_REMOVE ' ' '-mabi*' |
|
|
|
var_append SYSCPP_WRAPPER_REMOVE ' ' '-mabi*' |
|
|
|
|
|
|
|
|
|
|
|
# if $HOSTCC is a gcc < 4.3 we need 'cpuid.h' |
|
|
|
# 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" |
|
|
|
echo_warning "Old gcc detected: Working around cpuid.h support" |
|
|
|
var_append SYSCC_WRAPPER_APPEND ' ' "-I$confdir/include-old-gcc" |
|
|
|
var_append SYSCC_WRAPPER_APPEND ' ' "-I$confdir/include-old-gcc" |
|
|
|
fi |
|
|
|
fi |
|
|
|