summaryrefslogtreecommitdiff
path: root/newmoon/debian/rules
diff options
context:
space:
mode:
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