git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ 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
[safe/jmp/linux-2.6]
/
arch
/
powerpc
/
xmon
/
Makefile
diff --git
a/arch/powerpc/xmon/Makefile
b/arch/powerpc/xmon/Makefile
index
9cb03b7
..
85ab97a
100644
(file)
--- a/
arch/powerpc/xmon/Makefile
+++ b/
arch/powerpc/xmon/Makefile
@@
-1,5
+1,7
@@
# Makefile for xmon
+subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
+
ifdef CONFIG_PPC64
EXTRA_CFLAGS += -mno-minimal-toc
endif