Version 5.8
OS: RTEMS
The configure.ac
line:
CFLAGS="$noerr_CFLAGS ${CFLAGS#$CFLAGS_without_Werror}"
results in the CFLAGS provided to be copied twice. This breaks the RTEMS build because we provide gcc specs files in the CFLAGS and repeating them generates the following GCC error:
arm-rtems5-gcc: fatal error: /Users/chris/development/cs/rtems/5/arm-rtems5/beagleboneblack/lib/bsp_specs: attempt to rename spec 'endfile' to already defined spec 'old_endfile'
Why not just have CFLAGS=$noerr_CFLAGS
?