[Pkg-wmaker-commits] [wmauda] 10/17: debian/rules: Remove override_dh_auto_build target. Previously, LDFLAGS was passed to the Makefile via CFLAGS. We now patch the Makefile directly, omitting the need for this target.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Jul 8 02:33:45 UTC 2017


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

dtorrance-guest pushed a commit to branch master
in repository wmauda.

commit b9461c2c79b321fff1f3467ccc06bc8d933f7078
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Fri Jul 7 19:18:37 2017 -0400

    debian/rules: Remove override_dh_auto_build target. Previously, LDFLAGS
    was passed to the Makefile via CFLAGS.  We now patch the Makefile directly,
    omitting the need for this target.
---
 debian/rules | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index fd1a3b3..6c05d41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,9 @@
 #!/usr/bin/make -f
 
-export CFLAGS=$(shell dpkg-buildflags --get CFLAGS) -Wl,--as-needed
-export DEB_CFLAGS_MAINT_APPEND += $(shell dpkg-buildflags --get LDFLAGS)
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
 	dh $@
 
-override_dh_auto_build:
-	CFLAGS="$(CFLAGS)" $(MAKE)
-
 override_dh_auto_install:
 	dh_auto_install -- PREFIX=/usr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmauda.git



More information about the Pkg-wmaker-commits mailing list