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.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit