[libvigraimpex] 20/30: deb/rules: build with -O3 on ppc64el

Daniel Stender danstender-guest at moszumanska.debian.org
Sun Feb 14 00:55:31 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository libvigraimpex.

commit 7f1a3ce075489cd8abd049f9c04fc5007b6cd4d9
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Feb 13 21:10:09 2016 +0100

    deb/rules: build with -O3 on ppc64el
---
 debian/changelog | 3 ++-
 debian/rules     | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 98216f4..1b928d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,12 +9,13 @@ libvigraimpex (1.10.0+git20160120.803d5d4-2) UNRELEASED; urgency=medium
   * deb/rules:
     + added DH_VERBOSE export line.
     + add BINDNOW to linker flags.
+    + build with -O3 on ppc64el (support for Ubuntu development).
     + dropped --keep-going from testsuite call to break immediately.
     + removed old, obsolete and unneeded stuff, cosmetics.
   * deb/README.Debian: corrected typo.
   * Dropped deb/libvigraimpex5v5.lintian-overrides.
 
- -- Daniel Stender <debian at danielstender.com>  Sat, 13 Feb 2016 21:04:51 +0100
+ -- Daniel Stender <debian at danielstender.com>  Sat, 13 Feb 2016 21:09:13 +0100
 
 libvigraimpex (1.10.0+git20160120.803d5d4-1) unstable; urgency=medium
 
diff --git a/debian/rules b/debian/rules
index 66318b0..eabfbdc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,12 @@ ifeq ($(DEB_HOST_ARCH),i386)
   CXXFLAGS += -ffloat-store
 endif
 
+# support Ubuntu development
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+  CFLAGS := $(subst -O3,-O2,$(CFLAGS))
+  CXXFLAGS := $(subst -O3,-O2,$(CXXFLAGS))
+endif
+
 ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel))
   CXXFLAGS += --param ggc-min-expand=20
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libvigraimpex.git



More information about the debian-science-commits mailing list