summaryrefslogtreecommitdiff
path: root/palemoon/debian/rules
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-08-28 15:41:33 -0400
committerB Stack <bgstack15@gmail.com>2019-08-28 15:41:33 -0400
commite8e3d013e460b1ee2eb49869a2eda2d2b18e696a (patch)
tree33f30de7921c29763e18806fc1880e08e0d573f6 /palemoon/debian/rules
parentMerge branch 'waterfox-bump' into 'master' (diff)
downloadstackrpms-e8e3d013e460b1ee2eb49869a2eda2d2b18e696a.tar.gz
stackrpms-e8e3d013e460b1ee2eb49869a2eda2d2b18e696a.tar.bz2
stackrpms-e8e3d013e460b1ee2eb49869a2eda2d2b18e696a.zip
palemoon dpkg use gcc-8
because beowulf/ceres has gcc9 which somehow breaks palemoon now all of a sudden. I thought the Fedora release was working with gcc9. I ripped off some logic from palemoon-28.0.1 and palemoon-27.7.1 from stevepusser to force gcc8.
Diffstat (limited to 'palemoon/debian/rules')
-rwxr-xr-xpalemoon/debian/rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/palemoon/debian/rules b/palemoon/debian/rules
index 2a74bf0..b56d4f7 100755
--- a/palemoon/debian/rules
+++ b/palemoon/debian/rules
@@ -2,6 +2,16 @@
export SHELL=/bin/bash
+# borrowed from stevepusser's logic
+# Build with gcc-8 on Buster (beowulf/ceres)
+distrelease := $(shell lsb_release -cs)
+ifeq ($(distrelease),$(filter $(distrelease),buster beowulf/ceres))
+export CC=gcc-8
+export CXX=g++-8
+export CPP=cpp-8
+export LD=gcc-8
+endif
+
%:
dh $@
bgstack15