From 357946612ddbafe0f0a1050ac2aba916a71693eebf9d7a0d36be1b5b56f928c3 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Tue, 26 Jan 2016 06:33:46 +0000 Subject: [PATCH] Accepting request 355724 from home:olh:branches:mozilla:Factory - Using -g for CFLAGS is controlled via project settings, it should not be enforced by the mozilla buildsystem. OBS-URL: https://build.opensuse.org/request/show/355724 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=302 --- MozillaThunderbird.changes | 6 ++++++ MozillaThunderbird.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/MozillaThunderbird.changes b/MozillaThunderbird.changes index 88c8a35..78d2375 100644 --- a/MozillaThunderbird.changes +++ b/MozillaThunderbird.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 25 10:39:23 UTC 2016 - olaf@aepfle.de + +- Using -g for CFLAGS is controlled via project settings, it should + not be enforced by the mozilla buildsystem. + ------------------------------------------------------------------- Mon Jan 18 07:32:51 UTC 2016 - olaf@aepfle.de diff --git a/MozillaThunderbird.spec b/MozillaThunderbird.spec index d460769..984ffd3 100644 --- a/MozillaThunderbird.spec +++ b/MozillaThunderbird.spec @@ -244,6 +244,10 @@ export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %endif export CXXFLAGS="$CFLAGS" export MOZCONFIG=$RPM_BUILD_DIR/mozconfig +# -g might be part of RPM_OPT_FLAGS, depending on the debuginfo setting in prj config +# gcc lacks a an explicit -noop, so use something similar to make sure -g +# is not forced into CFLAGS +export MOZ_DEBUG_FLAGS="-pipe" # cat << EOF > $MOZCONFIG mk_add_options MOZILLA_OFFICIAL=1