]> sourceware.org Git - lvm2.git/commitdiff
Add some cflags to ldflags
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 21 Nov 2011 13:11:03 +0000 (13:11 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 21 Nov 2011 13:11:03 +0000 (13:11 +0000)
Things like gcov needs the compilation flags for linker as well.
TODO: cleanup compilation flags usage

make.tmpl.in
test/unit/Makefile.in

index ed00a1b14a9692b9a90f9a1a05f596d8c6ab3f5f..ea58f1b53898c76763367b8de529885e9d685fd4 100644 (file)
@@ -120,6 +120,7 @@ CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-pr
 #CFLAGS += -DDEBUG_CRC32
 
 CFLAGS += @COPTIMISE_FLAG@
+LDFLAGS += @COPTIMISE_FLAG@
 
 ifeq ("@DEBUG@", "yes")
   CFLAGS += -g -fno-omit-frame-pointer
index a880f3ec85538a67210edec2802a32a0c15b20a2..239deb6e8cfaee8449088f6d0bc98458f62a9acc 100644 (file)
@@ -18,8 +18,8 @@ VPATH = @srcdir@
 SOURCES = bitset_t.c matcher_t.c run.c
 TARGETS = run
 
-LDFLAGS = -ldevmapper -lcunit
 include $(top_builddir)/make.tmpl
+LDFLAGS += -ldevmapper -lcunit
 
 unit: run
        LD_LIBRARY_PATH=$(top_builddir)/libdm ./run
This page took 0.033518 seconds and 5 git commands to generate.