This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository pale-moon.

commit 97c62a9d52f4490d974adb0b0e3398cbbed35829
Author: Mihai Moldovan <[email protected]>
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 ffbe95f..8345526 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ palemoon (27.9.1a1~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 <[email protected]>  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
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to