summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs>2009-02-18 10:51:40 +0000
committerabs <abs>2009-02-18 10:51:40 +0000
commita9c9699411fc3e6ad95b2ca095a79cfc8adef0a3 (patch)
tree19213c1a09796e3f25ac7289ba7b5862ab8c68d8
parent23df2a6a37b80c84b100195b7f889f973e1bbb67 (diff)
downloadpkgsrc-a9c9699411fc3e6ad95b2ca095a79cfc8adef0a3.tar.gz
Strip out -fomit-frame-pointer if passed in cflags
-rw-r--r--www/firefox/Makefile.common5
-rw-r--r--www/seamonkey/Makefile.common5
2 files changed, 8 insertions, 2 deletions
diff --git a/www/firefox/Makefile.common b/www/firefox/Makefile.common
index a70be25c163..cdb28852d96 100644
--- a/www/firefox/Makefile.common
+++ b/www/firefox/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2008/05/19 10:43:02 tnn Exp $
+# $NetBSD: Makefile.common,v 1.26 2009/02/18 10:51:40 abs Exp $
# used by www/firefox/Makefile-firefox.common
MOZ_DIST_VER?= ${MOZ_VER}
@@ -19,6 +19,9 @@ USE_LANGUAGES= c c++
USE_TOOLS+= autoconf213 gmake perl pkg-config
GNU_CONFIGURE= yes
+# Mozilla applications require the frame-pointer
+BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer
+
INSTALL_TEMPLATES+= ${.CURDIR}/../../www/seamonkey/INSTALL
CONFIG_GUESS_OVERRIDE= build/autoconf/config.guess
diff --git a/www/seamonkey/Makefile.common b/www/seamonkey/Makefile.common
index 555af3a5e3b..8dcd1d2f857 100644
--- a/www/seamonkey/Makefile.common
+++ b/www/seamonkey/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.31 2008/11/03 14:18:42 ghen Exp $
+# $NetBSD: Makefile.common,v 1.32 2009/02/18 10:51:40 abs Exp $
# used by mail/thunderbird/Makefile-thunderbird.common
# used by www/seamonkey/Makefile-seamonkey.common
# used by time/sunbird/Makefile-sunbird.common
@@ -73,6 +73,9 @@ CONFIGURE_ARGS+= --enable-default-toolkit=gtk
# NetBSD-*-m68k builds, but "regchrome" dumps core.
NOT_FOR_PLATFORM= NetBSD-1.4.*-* NetBSD-*-m68k
+# Mozilla applications require the frame-pointer
+BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer
+
MAKE_ENV+= MOZILLA_PKG_NAME=${MOZILLA:Q}
MOZ_LIBDIR= ${PREFIX}/lib/${MOZILLA}