* [gentoo-commits] gentoo-x86 commit in dev-db/slony1/files: ldflags.patch
@ 2011-08-10 22:47 Aaron Swenson (titanofold)
0 siblings, 0 replies; only message in thread
From: Aaron Swenson (titanofold) @ 2011-08-10 22:47 UTC (permalink / raw
To: gentoo-commits
titanofold 11/08/10 22:47:31
Added: ldflags.patch
Log:
Fix LDFLAGS not being respected
(Portage version: 2.1.10.3/cvs/Linux i686)
Revision Changes Path
1.1 dev-db/slony1/files/ldflags.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/files/ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/files/ldflags.patch?rev=1.1&content-type=text/plain
Index: ldflags.patch
===================================================================
diff -Naur a/Makefile.global.in b/Makefile.global.in
--- a/Makefile.global.in 2011-07-11 17:19:57.000000000 -0400
+++ b/Makefile.global.in 2011-08-08 18:28:58.654658951 -0400
@@ -85,7 +85,7 @@
subdir=$(slony_subdir)
override CPPFLAGS := -I${pgincludedir} -I${pgincludeserverdir} $(CPPFLAGS)
-LDFLAGS = -L${pglibdir} -L${pgpkglibdir} -lpq @NLSLIB@
+override LDFLAGS += -L${pglibdir} -L${pgpkglibdir} -lpq @NLSLIB@
ifeq ($(GCC), yes)
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
diff -Naur a/makefiles/Makefile.linux b/makefiles/Makefile.linux
--- a/makefiles/Makefile.linux 2011-07-11 17:19:57.000000000 -0400
+++ b/makefiles/Makefile.linux 2011-08-09 07:52:47.071130982 -0400
@@ -12,9 +12,9 @@
endif
%.so: %.o
- $(CC) -shared -o $@ $<
+ $(CC) $(LDFLAGS) -shared -o $@ $<
%.o: %.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -c -o $@ $<
-sqlmansect = 7
\ No newline at end of file
+sqlmansect = 7
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-10 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 22:47 [gentoo-commits] gentoo-x86 commit in dev-db/slony1/files: ldflags.patch Aaron Swenson (titanofold)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox