diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index fb9b0b89f8..05ec2438ac 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -29,6 +29,7 @@ CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) # Add cleanup flags ifndef CONFIG_MODULES CPPFLAGS += -fdata-sections -ffunction-sections +LDFLAGS_barebox += --gc-sections endif machdirs := $(patsubst %,arch/ppc/mach-%/,$(machine-y)) |