From c747630f16181d71ce2d7fb5b31f164062c17d5d Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 16 Feb 2023 19:55:54 -0500 Subject: nm 32.0.0 rc1 --- newmoon/debian/rules | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'newmoon/debian/rules') diff --git a/newmoon/debian/rules b/newmoon/debian/rules index 89ddd3f..bc24b7b 100755 --- a/newmoon/debian/rules +++ b/newmoon/debian/rules @@ -2,18 +2,10 @@ export SHELL=/bin/bash -## borrowed from stevepusser's logic -## 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),sid beowulf/ceres)) -export CC=gcc-10 -export CXX=g++-10 -export CPP=cpp-10 -export LD=gcc-10 -#endif - -export MCFILE=debian/mozconfig +ifneq (,$(filter $(DEB_HOST_ARCH), armhf)) + export DEB_CFLAGS_MAINT_APPEND = -mfpu=neon -funsafe-math-optimizations + export DEB_CXXFLAGS_MAINT_APPEND = -mfpu=neon -funsafe-math-optimizations +endif %: dh $@ --without autoreconf @@ -28,7 +20,7 @@ override_dh_auto_clean: } || : override_dh_auto_configure: - cp ${MCFILE} mozconfig + cp debian/mozconfig mozconfig ! test -d palemoon/branding/unofficial.unbuilt && { \ cp -pr palemoon/branding/unofficial palemoon/branding/unofficial.unbuilt && \ tar -C palemoon/branding -zxf debian/bluemoon-icons.tgz ; } || : -- cgit