summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/oprofile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/oprofile/Makefile')
-rw-r--r--arch/powerpc/oprofile/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/oprofile/Makefile b/arch/powerpc/oprofile/Makefile
index e219ca43962..73456c4cec2 100644
--- a/arch/powerpc/oprofile/Makefile
+++ b/arch/powerpc/oprofile/Makefile
@@ -1,8 +1,6 @@
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
-ifeq ($(CONFIG_PPC64),y)
-EXTRA_CFLAGS += -mno-minimal-toc
-endif
+ccflags-$(CONFIG_PPC64) := -mno-minimal-toc
obj-$(CONFIG_OPROFILE) += oprofile.o