Package: iselect / 1.4.0-4

properly-pass-build-flags.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Properly pass build flags in Makefile
Author: Axel Beckert <abe@debian.org>

Index: iselect/Makefile.in
===================================================================
--- iselect.orig/Makefile.in	2013-07-15 00:54:51.410561645 +0200
+++ iselect/Makefile.in	2013-07-15 00:55:01.050586858 +0200
@@ -9,8 +9,9 @@
 
 #   compiler tools
 CC      = @CC@
-CFLAGS  = @CFLAGS@ -I.
-LDFLAGS = @LDFLAGS@
+CFLAGS  ?= @CFLAGS@ -I.
+CFLAGS  += $(CPPFLAGS)
+LDFLAGS ?= @LDFLAGS@
 LIBS    = @LIBS@
 debug   = @debug@