summaryrefslogtreecommitdiff
path: root/newmoon/debian/rules
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-11-14 20:10:20 +0000
committerB. Stack <bgstack15@gmail.com>2021-11-14 20:10:20 +0000
commit97a7101dfd39d878a67512b592513a83fff619a3 (patch)
tree279aa2b7772d4d730a40cf2a552e996862402f91 /newmoon/debian/rules
parentMerge branch 'scite-bump' into 'master' (diff)
parentadd lsb-release to dsc (diff)
downloadstackrpms-97a7101dfd39d878a67512b592513a83fff619a3.tar.gz
stackrpms-97a7101dfd39d878a67512b592513a83fff619a3.tar.bz2
stackrpms-97a7101dfd39d878a67512b592513a83fff619a3.zip
Merge branch 'newmoon-bump' into 'master'
use gcc 10 See merge request bgstack15/stackrpms!272
Diffstat (limited to 'newmoon/debian/rules')
-rwxr-xr-xnewmoon/debian/rules16
1 files changed, 8 insertions, 8 deletions
diff --git a/newmoon/debian/rules b/newmoon/debian/rules
index f47e5cc..d93a6a0 100755
--- a/newmoon/debian/rules
+++ b/newmoon/debian/rules
@@ -3,15 +3,15 @@
export SHELL=/bin/bash
## borrowed from stevepusser's logic
-## Build with gcc-8 on Buster (beowulf/ceres)
+## Build with gcc-10 on releases where default gcc is 11
## 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
+distrelease := $(shell lsb_release -cs)
+ifeq ($(distrelease),$(filter $(distrelease),sid beowulf/ceres))
+export CC=gcc-10
+export CXX=g++-10
+export CPP=cpp-10
+export LD=gcc-10
+endif
export MCFILE=debian/mozconfig
bgstack15