mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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 += @COPTIMISE_FLAG@
|
||||
LDFLAGS += @COPTIMISE_FLAG@
|
||||
|
||||
ifeq ("@DEBUG@", "yes")
|
||||
CFLAGS += -g -fno-omit-frame-pointer
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user