public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./make.tmpl.in test/unit/Makefile.in
@ 2011-11-21 13:11 zkabelac
  0 siblings, 0 replies; only message in thread
From: zkabelac @ 2011-11-21 13:11 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac@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

--- LVM2/make.tmpl.in	2011/11/20 20:52:09	1.124
+++ LVM2/make.tmpl.in	2011/11/21 13:11:03	1.125
@@ -120,6 +120,7 @@
 #CFLAGS += -DDEBUG_CRC32
 
 CFLAGS += @COPTIMISE_FLAG@
+LDFLAGS += @COPTIMISE_FLAG@
 
 ifeq ("@DEBUG@", "yes")
   CFLAGS += -g -fno-omit-frame-pointer
--- LVM2/test/unit/Makefile.in	2011/11/20 21:43:20	1.1
+++ LVM2/test/unit/Makefile.in	2011/11/21 13:11:03	1.2
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-21 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-21 13:11 LVM2 ./make.tmpl.in test/unit/Makefile.in zkabelac

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).