summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-09-24 22:36:27 +0000
committerryoon <ryoon@pkgsrc.org>2015-09-24 22:36:27 +0000
commitd49299aab9849bc8866395f6fe08253e3151c8de (patch)
treee16bb4183eac172f18e31769d3535f1b49b6d100
parentfc1f44ceda15cc88421d89746a274a38f509fc22 (diff)
downloadpkgsrc-d49299aab9849bc8866395f6fe08253e3151c8de.tar.gz
Fix NetBSD/i386 build.
flag for c++ compiler is CXXFLAGS.
-rw-r--r--www/firefox/mozilla-common.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/firefox/mozilla-common.mk b/www/firefox/mozilla-common.mk
index f4c71f7e0be..58c0f86fbea 100644
--- a/www/firefox/mozilla-common.mk
+++ b/www/firefox/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.62 2015/09/23 06:44:41 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.63 2015/09/24 22:36:27 ryoon Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -24,9 +24,9 @@ USE_TOOLS+= bsdtar
GCC_REQD+= 4.8
.if ${MACHINE_ARCH} == "i386"
# Fix for PR pkg/48152.
-CPPFLAGS+= -march=i486
+CXXFLAGS+= -march=i486
# This is required for SSE2 code under i386.
-CPPFLAGS+= -mstackrealign
+CXXFLAGS+= -mstackrealign
.endif
CHECK_PORTABILITY_SKIP+=${MOZILLA_DIR}security/nss/tests/libpkix/libpkix.sh