[med-svn] [Git][med-team/vsearch][master] Use proper flags on other arches

Nilesh Patra gitlab at salsa.debian.org
Wed Feb 3 14:16:43 GMT 2021



Nilesh Patra pushed to branch master at Debian Med / vsearch


Commits:
6f1d6d6b by Nilesh Patra at 2021-02-03T19:44:44+05:30
Use proper flags on other arches

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -18,13 +18,15 @@ else
 endif
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_CXXFLAGS_MAINT_APPEND  = -flto
 export DEB_LDFLAGS_MAINT_APPEND = -flto
+DEB_CXXFLAGS_MAINT_APPEND  = -flto
 
-ifneq (,$(filter $(DEB_BUILD_ARCH),ppc64el))
-     DEB_CXXLAGS_MAINT_APPEND += -std=c++11
+ifneq ($(DEB_HOST_ARCH),ppc64el)
+	DEB_CXXFLAGS_MAINT_APPEND += -std=c++11
 endif
 
+export DEB_CXXFLAGS_MAINT_APPEND
+
 %:
 	dh $@
 



View it on GitLab: https://salsa.debian.org/med-team/vsearch/-/commit/6f1d6d6bcc3a9687d4fa3eac88d2936457668b41

-- 
View it on GitLab: https://salsa.debian.org/med-team/vsearch/-/commit/6f1d6d6bcc3a9687d4fa3eac88d2936457668b41
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/20210203/5190d79c/attachment.html>


More information about the debian-med-commit mailing list