This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pale-moon. commit e10814e7dc35fe1356f247b99899cf4bc47aeaf9 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon May 28 23:02:49 2018 +0200 debian/rules: add (more) CFLAGS overrides from Debian's firefox(-esr) package. Mostly disabling unsafe optimizations, also for special platforms such as ARM. --- debian/changelog | 2 ++ debian/rules | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index 194f74f..fa14e47 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ palemoon (27.9.2~repack-1-0x2go1) obs; urgency=medium - Add *FLAGS and DEB_ variable overrides/definitions from Debian's firefox(-esr) package. - Add (more) LDFLAGS overrides from Debian's firefox(-esr) package. + - Add (more) CFLAGS overrides from Debian's firefox(-esr) package. Mostly + disabling unsafe optimizations, also for special platforms such as ARM. -- Mihai Moldovan <ionic@ionic.de> Mon, 28 May 2018 03:44:10 +0200 diff --git a/debian/rules b/debian/rules index 54bf658..d00330f 100755 --- a/debian/rules +++ b/debian/rules @@ -38,6 +38,17 @@ export CPP=cpp-4.9 export LD=gcc-4.9 endif +ifneq (,$(findstring gcc,$(CC))) +ifeq (,$(filter 4.% 5.%,$(shell $(CC) -dumpversion))) +CFLAGS += -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks +ifneq (,$(filter armel armhf,$(DEB_BUILD_ARCH))) +CFLAGS += -fno-schedule-insns +endif +endif +endif + +CXXFLAGS = $(CFLAGS) + %: dh $@ --parallel -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git