[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[asymptote] 07/16: Pass build flags to upstream build system.



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

preining pushed a commit to branch master
in repository asymptote.

commit f662c5e918ebf39d2d3a58e030d2d29e942a0e6d
Author: Nicolas Boulenguez <nicolas@debian.org>
Date:   Tue Oct 31 01:56:42 2017 +0100

    Pass build flags to upstream build system.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index affd160..8e0741b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/buildflags.mk
 include /usr/share/dpkg/pkg-info.mk
 
 %:
@@ -8,7 +9,8 @@ include /usr/share/dpkg/pkg-info.mk
 override_dh_auto_configure:
 	dh_auto_configure -- --prefix=/usr --enable-gc=system	\
 		--with-latex=/usr/share/texmf/tex/latex		\
-		--with-context=/usr/share/texmf/tex/context/third
+		--with-context=/usr/share/texmf/tex/context/third \
+		$(foreach v,CFLAGS CPPFLAGS CXXFLAGS LDFLAGS,'$(v)=$($(v))')
 
 
 override_dh_auto_build:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git


Reply to: