powerpc: Build kernel with -mcmodel=medium
[linux-2.6-block.git] / arch / powerpc / mm / Makefile
index 3787b61f7d2022a72cbcbb20eb115c39b86ed8d5..cf16b5733eaa368d1d905d1d2302cc432dcc9fec 100644 (file)
@@ -4,7 +4,7 @@
 
 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
 
-ccflags-$(CONFIG_PPC64)        := -mno-minimal-toc
+ccflags-$(CONFIG_PPC64)        := $(NO_MINIMAL_TOC)
 
 obj-y                          := fault.o mem.o pgtable.o gup.o \
                                   init_$(CONFIG_WORD_SIZE).o \