diff options
author | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2016-10-14 16:32:09 +0200 |
---|---|---|
committer | Franziskus Kiefer <franziskuskiefer@gmail.com> | 2016-10-14 16:32:09 +0200 |
commit | 44d3245eef6347ff365b096154c026b77a55d395 (patch) | |
tree | efe197e0bf0e4b3654a2d93cc22b24030ab8c239 /Makefile | |
parent | 329d62bde687385a6da93e258b21c696475f9a7b (diff) | |
download | nss-hg-44d3245eef6347ff365b096154c026b77a55d395.tar.gz |
Bug 1310168 - fix mac builds, r=bustage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -91,6 +91,10 @@ endif ifdef CCC NSPR_CONFIGURE_ENV += CXX=$(CCC) endif +# Remove -arch definitions. NSPR can't handle that. +NSPR_CONFIGURE_ENV := $(filter-out -arch x86_64,$(NSPR_CONFIGURE_ENV)) +NSPR_CONFIGURE_ENV := $(filter-out -arch i386,$(NSPR_CONFIGURE_ENV)) +NSPR_CONFIGURE_ENV := $(filter-out -arch ppc,$(NSPR_CONFIGURE_ENV)) ifdef SANITIZER_CFLAGS ifdef BUILD_OPT |