diff options
Diffstat (limited to 'ports/sysdeps/arm/preconfigure.in')
-rw-r--r-- | ports/sysdeps/arm/preconfigure.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/sysdeps/arm/preconfigure.in b/ports/sysdeps/arm/preconfigure.in index f3272f11cd..99f21282fa 100644 --- a/ports/sysdeps/arm/preconfigure.in +++ b/ports/sysdeps/arm/preconfigure.in @@ -5,6 +5,11 @@ case "$machine" in arm*) case $config_os in linux-gnueabi*) + # If the compiler enables unwind tables by default, this causes + # problems with undefined symbols in -nostdlib link tests. To + # avoid this, add -fno-unwind-tables here and remove it in + # sysdeps/unix/sysv/linux/arm/configure.in after those tests have + # been run. if [ "${CFLAGS+set}" != "set" ]; then CFLAGS="-g -O2" fi |