aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index ca51f0cf27ab..9374bc9a2dd1 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -3,7 +3,7 @@
3# 3#
4 4
5ifeq ($(CONFIG_PPC64),y) 5ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc 6CFLAGS_prom_init.o += -mno-minimal-toc
7endif 7endif
8ifeq ($(CONFIG_PPC32),y) 8ifeq ($(CONFIG_PPC32),y)
9CFLAGS_prom_init.o += -fPIC 9CFLAGS_prom_init.o += -fPIC