summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-05-14 00:13:40 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-05-16 17:05:57 (EDT)
commit97b629a559413d69b030e1f6228a4b90f8f71fb8 (patch)
treef84ac7f08e59c3c6e576008e06b2c342fd30e99e
parentf9a530c76fc6da291d34484babe95c58901a7729 (diff)
downloadicecat-97b629a559413d69b030e1f6228a4b90f8f71fb8.zip
icecat-97b629a559413d69b030e1f6228a4b90f8f71fb8.tar.gz
icecat-97b629a559413d69b030e1f6228a4b90f8f71fb8.tar.bz2
gnuzilla/build: Delete CFLAGS/CXXFLAGS/LDFLAGS assignment
-rwxr-xr-xgnuzilla/build5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnuzilla/build b/gnuzilla/build
index 8fc0fa2..524d7b0 100755
--- a/gnuzilla/build
+++ b/gnuzilla/build
@@ -50,6 +50,11 @@ sed -i '/^\thardening-wrapper,$/d;' \
"icecat-${upstream_version}/debian/control" \
"icecat-${upstream_version}/debian/control.in"
+# Instead, let CDBS set CFLAGS, CXXFLAGS, and LDFLAGS to output of
+# dpkg-buildflags.
+sed -i '/^CFLAGS\t*:=.*$/d; /^CXXFLAGS\t*:=.*$/d; /^LDFLAGS\t*:=.*$/d;' \
+ "icecat-${upstream_version}/debian/build/rules.mk"
+
# "3.0 (native)" source packages may not have a revision.
sed -i '1s/-gnu/~gnu/;' "icecat-${upstream_version}/debian/changelog"