summaryrefslogtreecommitdiff
path: root/moz
diff options
context:
space:
mode:
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"