aboutsummaryrefslogtreecommitdiff
path: root/make.rules
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-07-18 15:44:59 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2018-07-19 18:39:42 +1000
commit5cd96a5ba9782d6f1c2d53d02d5a265fbcae580b (patch)
tree56e99ac14b962ae87bf4e687f6f679c87c954851 /make.rules
parent9b7ab2fa020341dee8bf9df6c9cf40003e0136df (diff)
downloadSLOF-5cd96a5ba9782d6f1c2d53d02d5a265fbcae580b.zip
SLOF-5cd96a5ba9782d6f1c2d53d02d5a265fbcae580b.tar.gz
SLOF-5cd96a5ba9782d6f1c2d53d02d5a265fbcae580b.tar.bz2
make.rules: Compile SLOF with -fno-asynchronous-unwind-tables
With the new GCC 8, the asynchronous-unwind-tables are always enabled. We don't need this for SLOF, so disable them to save 32 kiB in the boot_rom.bin. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'make.rules')
-rw-r--r--make.rules5
1 files changed, 3 insertions, 2 deletions
diff --git a/make.rules b/make.rules
index 3067314..acbc8ab 100644
--- a/make.rules
+++ b/make.rules
@@ -73,8 +73,9 @@ RANLIB ?= $(CROSS)ranlib
CPP ?= $(CROSS)cpp
WARNFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -Wformat-security
-CFLAGS ?= -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float -fno-strict-aliasing \
- -mno-altivec -mabi=no-altivec -fno-stack-protector $(WARNFLAGS)
+CFLAGS ?= -g -O2 -fno-builtin -ffreestanding -nostdinc -msoft-float \
+ -fno-strict-aliasing -mno-altivec -mabi=no-altivec \
+ -fno-stack-protector -fno-asynchronous-unwind-tables $(WARNFLAGS)
export CC AS LD CLEAN OBJCOPY OBJDUMP STRIP AR RANLIB CFLAGS