summaryrefslogtreecommitdiff
path: root/package/lvm/patches/patch-make_tmpl_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-11 18:19:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-11 18:19:44 +0100
commitb608c5a7dc38765319cc5f7cb32d35fcb0701d08 (patch)
tree15bcd0cd2d80058dbdd6bea3e6fb73cb7e7000bb /package/lvm/patches/patch-make_tmpl_in
parent55d3db867cddc1b2917a60cda577a7865f49eda8 (diff)
fix misusage of CFLAGS, found via -fhonour-copts
Diffstat (limited to 'package/lvm/patches/patch-make_tmpl_in')
-rw-r--r--package/lvm/patches/patch-make_tmpl_in13
1 files changed, 11 insertions, 2 deletions
diff --git a/package/lvm/patches/patch-make_tmpl_in b/package/lvm/patches/patch-make_tmpl_in
index 43bd07008..f5286dfa4 100644
--- a/package/lvm/patches/patch-make_tmpl_in
+++ b/package/lvm/patches/patch-make_tmpl_in
@@ -1,5 +1,14 @@
---- LVM2.2.02.79.orig/make.tmpl.in 2010-11-05 17:18:38.000000000 +0100
-+++ LVM2.2.02.79/make.tmpl.in 2010-12-26 22:15:11.000000000 +0100
+--- LVM2.2.02.80.orig/make.tmpl.in 2011-01-10 14:00:53.000000000 +0100
++++ LVM2.2.02.80/make.tmpl.in 2011-01-11 11:39:53.000000000 +0100
+@@ -33,7 +33,7 @@ LIBS = @LIBS@
+ # Extra libraries always linked with static binaries
+ STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS)
+ DEFS += @DEFS@
+-CFLAGS += @CFLAGS@
++CFLAGS = @CFLAGS@
+ CLDFLAGS += @CLDFLAGS@
+ LDDEPS += @LDDEPS@
+ LDFLAGS += @LDFLAGS@
@@ -322,7 +322,8 @@ $(LIB_SHARED): $(LIB_SHARED).$(LIB_VERSI
$(LN_S) -f $(<F) $@