diff options
Diffstat (limited to 'palemoon/debian/rules')
-rwxr-xr-x | palemoon/debian/rules | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/palemoon/debian/rules b/palemoon/debian/rules index b56d4f7..2efbbcf 100755 --- a/palemoon/debian/rules +++ b/palemoon/debian/rules @@ -2,14 +2,21 @@ export SHELL=/bin/bash -# borrowed from stevepusser's logic -# Build with gcc-8 on Buster (beowulf/ceres) +## borrowed from stevepusser's logic +## Build with gcc-8 on Buster (beowulf/ceres) +## If you enable this, then d/control needs lsb-release as a build dependency. +#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 + +export MCFILE=debian/mozconfig 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 +ifeq ($(distrelease),$(filter $(distrelease),sid unstable ceres)) +export MCFILE=debian/mozconfig-unstable endif %: @@ -21,7 +28,7 @@ override_dh_auto_clean: find . -name '*.pyc' -delete override_dh_auto_configure: - cp debian/mozconfig mozconfig + cp ${MCFILE} mozconfig override_dh_auto_build: make -f client.mk build |