diff options
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/config.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/config.mk b/arch/i386/config.mk index 4b990e04ef..0e80a1ae58 100644 --- a/arch/i386/config.mk +++ b/arch/i386/config.mk @@ -26,3 +26,6 @@ CROSS_COMPILE ?= i386-linux- STANDALONE_LOAD_ADDR = 0x40000 PLATFORM_CPPFLAGS += -DCONFIG_I386 -D__I386__ + +LDFLAGS += --cref --gc-sections +PLATFORM_RELFLAGS += -ffunction-sections |