This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository pale-moon. commit 026d12798f212ddda98a70bb07ff0dfa6717d4c7 Author: Mihai Moldovan <ionic@ionic.de> Date: Mon May 28 23:39:19 2018 +0200 debian/rules: enable or disable optimizations when needed. Needs further support for CONFIGURE_FLAGS. --- debian/changelog | 2 ++ debian/rules | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index d8846df..ba375b1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,8 @@ palemoon (27.9.1a1~0x2go1) obs; urgency=medium - Add (more) CFLAGS overrides from Debian's firefox(-esr) package. Mostly disabling unsafe optimizations, also for special platforms such as ARM. - Export what needs to be exported. + - Enable or disable optimizations when needed. Needs further support for + CONFIGURE_FLAGS. -- Mihai Moldovan <ionic@ionic.de> Mon, 28 May 2018 03:44:10 +0200 diff --git a/debian/rules b/debian/rules index c5fc37a..19803fb 100755 --- a/debian/rules +++ b/debian/rules @@ -47,6 +47,14 @@ endif endif endif +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CONFIGURE_FLAGS += --disable-optimize +endif + +ifneq (,$(filter ia64,$(DEB_BUILD_ARCH))) + CONFIGURE_FLAGS += --enable-optimize=-O2 +endif + CXXFLAGS = $(CFLAGS) EXPORTS := CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git