git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Add configurable -Werror for arch/powerpc
[pandora-kernel.git]
/
arch
/
powerpc
/
mm
/
Makefile
diff --git
a/arch/powerpc/mm/Makefile
b/arch/powerpc/mm/Makefile
index
c4bcf07
..
2d2192e
100644
(file)
--- a/
arch/powerpc/mm/Makefile
+++ b/
arch/powerpc/mm/Makefile
@@
-2,6
+2,8
@@
# Makefile for the linux ppc-specific parts of the memory manager.
#
+subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
+
ifeq ($(CONFIG_PPC64),y)
EXTRA_CFLAGS += -mno-minimal-toc
endif