[Pkg-wmaker-commits] [wmtop] 25/34: debian/patches/honor_buildflags.patch: Honor CPPFLAGS, CFLAGS, and LDFLAGS.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Wed Aug 26 01:01:34 UTC 2015


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

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

commit 6776ea2854d6c127da9f2433fca167128df22a3c
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Jul 13 12:37:53 2015 -0600

    debian/patches/honor_buildflags.patch: Honor CPPFLAGS, CFLAGS, and LDFLAGS.
---
 debian/patches/honor_buildflags.patch | 19 +++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/honor_buildflags.patch b/debian/patches/honor_buildflags.patch
new file mode 100644
index 0000000..afb54c3
--- /dev/null
+++ b/debian/patches/honor_buildflags.patch
@@ -0,0 +1,19 @@
+Description: Honor CPPFLAGS, CFLAGS, and LDFLAGS.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2015-07-13
+
+--- a/Makefile
++++ b/Makefile
+@@ -22,10 +22,10 @@
+ 	$(MAKE) OS=LINUX all
+ 
+ .c.o:
+-	$(CC) $(FLAGS) $(INCS) -c $< -o $*.o
++	$(CC) -D$(OS) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o
+ 
+ wmtop: $(OBJS) wmtop.o
+-	$(CC) $(FLAGS) -o wmtop $(OBJS) $(LIBDIR) $(LIBS)
++	$(CC) $(LDFLAGS) -o wmtop $(OBJS) $(LIBDIR) $(LIBS)
+ 	@echo Now you can do a '"make install"'
+ 
+ all: wmtop
diff --git a/debian/patches/series b/debian/patches/series
index d4acb9d..7fd3f20 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ fix_incorrect_memory_usage.patch
 comment_strip_of_binary.patch
 fix_manpage.patch
 fix_install.patch
+honor_buildflags.patch

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



More information about the Pkg-wmaker-commits mailing list