From 62a0e67a36c833d10580f308f79ba15c1b4e27b5 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 9 Nov 2021 10:06:13 -0500 Subject: use gcc 10 Ref https://build.opensuse.org/package/show/home:stevenpusser:palemoon-GTK3/palemoon-impish-sid --- newmoon/debian/rules | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'newmoon/debian/rules') 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 -- cgit