[med-svn] [Git][med-team/clustalo][master] Restrict debug code to mipsel only

Andreas Tille gitlab at salsa.debian.org
Fri May 1 07:04:39 BST 2020



Andreas Tille pushed to branch master at Debian Med / clustalo


Commits:
7f504f0c by Andreas Tille at 2020-05-01T08:00:01+02:00
Restrict debug code to mipsel only

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -6,16 +6,19 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# FIXME: this needs to be restricted to mipsel only
+include /usr/share/dpkg/default.mk
+ifneq (,$(filter mipsel ,$(DEB_BUILD_ARCH)))
 export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS | sed 's/-O[1-9]//') -O0
 export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS | sed 's/-O[1-9]//') -O0
+endif
 
 %:
 	dh $@
 
-# FIXME: this needs to be restricted to mipsel only
+ifneq (,$(filter mipsel ,$(DEB_BUILD_ARCH)))
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-debug
+endif
 
 override_dh_auto_build-indep:
 	# nothing to do here



View it on GitLab: https://salsa.debian.org/med-team/clustalo/-/commit/7f504f0cd46ffbe864a8850ace0e67afbef64349

-- 
View it on GitLab: https://salsa.debian.org/med-team/clustalo/-/commit/7f504f0cd46ffbe864a8850ace0e67afbef64349
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200501/09965dfa/attachment.html>


More information about the debian-med-commit mailing list