summaryrefslogtreecommitdiff
path: root/moz
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-24 10:40:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-24 10:45:56 +0000
commit71a9b97cf7851a29e1fcef862c939e531c559a03 (patch)
tree58837000a3ea1d7bcd50eac11b87365ac62a7bf2 /moz
parente8ebdd67c4997fe6633ca105fec1445ad2539ea1 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'moz')
-rw-r--r--moz/makefile.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/moz/makefile.mk b/moz/makefile.mk
index aefd5b8c3a87..e34770527f9c 100644
--- a/moz/makefile.mk
+++ b/moz/makefile.mk
@@ -188,10 +188,14 @@ CXXFLAGS+=-m64
.ENDIF
.EXPORT : CXXFLAGS
.ENDIF # "$(COMNAME)"=="sunpro5"
-.IF "$(COM)$(OS)$(CPUNAME)" == "GCCLINUXPOWERPC64"
-CXXFLAGS:=-mminimal-toc
-.EXPORT : CXXFLAGS
.ENDIF
+
+.IF "$(COM)" == "GCC"
+CXXFLAGS+=-fpermissive
+.IF "$(OS)$(CPUNAME)" == "LINUXPOWERPC64"
+CXXFLAGS+=-mminimal-toc
+.ENDIF
+.EXPORT : CXXFLAGS
.ENDIF
.IF "$(OS)"=="SOLARIS" && "$(CPUNAME)"=="SPARC" && "$(CPU)"=="U"