Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / mn10300 / Makefile
index 33188b6e81e4509d060aab524de1d9ac5a54d67d..a3d0fef3b126ba859e5fe0459b1e12658cbebe69 100644 (file)
@@ -26,7 +26,7 @@ CHECKFLAGS    +=
 PROCESSOR      := unset
 UNIT           := unset
 
-KBUILD_CFLAGS  += -mam33 -mmem-funcs -DCPU=AM33
+KBUILD_CFLAGS  += -mam33 -DCPU=AM33 $(call cc-option,-mmem-funcs,)
 KBUILD_AFLAGS  += -mam33 -DCPU=AM33
 
 ifeq ($(CONFIG_MN10300_CURRENT_IN_E2),y)