mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Add some cflags to ldflags
Things like gcov needs the compilation flags for linker as well. TODO: cleanup compilation flags usage
This commit is contained in:
parent
c2bd285160
commit
d6a05ea5e6
@ -120,6 +120,7 @@ CFLAGS += -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-pr
|
|||||||
#CFLAGS += -DDEBUG_CRC32
|
#CFLAGS += -DDEBUG_CRC32
|
||||||
|
|
||||||
CFLAGS += @COPTIMISE_FLAG@
|
CFLAGS += @COPTIMISE_FLAG@
|
||||||
|
LDFLAGS += @COPTIMISE_FLAG@
|
||||||
|
|
||||||
ifeq ("@DEBUG@", "yes")
|
ifeq ("@DEBUG@", "yes")
|
||||||
CFLAGS += -g -fno-omit-frame-pointer
|
CFLAGS += -g -fno-omit-frame-pointer
|
||||||
|
@ -18,8 +18,8 @@ VPATH = @srcdir@
|
|||||||
SOURCES = bitset_t.c matcher_t.c run.c
|
SOURCES = bitset_t.c matcher_t.c run.c
|
||||||
TARGETS = run
|
TARGETS = run
|
||||||
|
|
||||||
LDFLAGS = -ldevmapper -lcunit
|
|
||||||
include $(top_builddir)/make.tmpl
|
include $(top_builddir)/make.tmpl
|
||||||
|
LDFLAGS += -ldevmapper -lcunit
|
||||||
|
|
||||||
unit: run
|
unit: run
|
||||||
LD_LIBRARY_PATH=$(top_builddir)/libdm ./run
|
LD_LIBRARY_PATH=$(top_builddir)/libdm ./run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user