LVM2 ./make.tmpl.in test/unit/Makefile.in
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-11-21 13:11:04
Modified files:
. : make.tmpl.in
test/unit : Makefile.in
Log message:
Add some cflags to ldflags
Things like gcov needs the compilation flags for linker as well.
TODO: cleanup compilation flags usage
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/make.tmpl.in.diff?cvsroot=lvm2&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/unit/Makefile.in.diff?cvsroot=lvm2&r1=1.1&r2=1.2
make.tmpl.in +1 -0
@@ -120,6 +120,7 @@ #CFLAGS += -DDEBUG_CRC32 CFLAGS += @COPTIMISE_FLAG@ +LDFLAGS += @COPTIMISE_FLAG@ ifeq ("@DEBUG@", "yes") CFLAGS += -g -fno-omit-frame-pointer
test/unit/Makefile.in +1 -1
@@ -18,8 +18,8 @@ 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