diff options
author | B Stack <bgstack15@gmail.com> | 2019-08-28 15:41:33 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-08-28 15:41:33 -0400 |
commit | e8e3d013e460b1ee2eb49869a2eda2d2b18e696a (patch) | |
tree | 33f30de7921c29763e18806fc1880e08e0d573f6 /palemoon/debian/rules | |
parent | Merge branch 'waterfox-bump' into 'master' (diff) | |
download | stackrpms-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-x | palemoon/debian/rules | 10 |
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 $@ |