public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-db/slony1/files: slony1-2.1.1-ldflags.patch
@ 2012-02-22 11:28 Aaron Swenson (titanofold)
  0 siblings, 0 replies; only message in thread
From: Aaron Swenson (titanofold) @ 2012-02-22 11:28 UTC (permalink / raw
  To: gentoo-commits

titanofold    12/02/22 11:28:13

  Added:                slony1-2.1.1-ldflags.patch
  Log:
  Version bump.
  
  (Portage version: 2.1.10.44/cvs/Linux i686)

Revision  Changes    Path
1.1                  dev-db/slony1/files/slony1-2.1.1-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/files/slony1-2.1.1-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/slony1/files/slony1-2.1.1-ldflags.patch?rev=1.1&content-type=text/plain

Index: slony1-2.1.1-ldflags.patch
===================================================================
diff -Naur a/Makefile.global.in b/Makefile.global.in
--- a/Makefile.global.in	2012-01-25 14:13:40.000000000 -0500
+++ b/Makefile.global.in	2012-02-22 06:14:05.240047000 -0500
@@ -80,7 +80,7 @@
 subdir=$(slony_subdir)
 
 override CPPFLAGS := -I${pgincludeserverdir} -I${pgincludedir} $(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	2012-01-25 14:13:40.000000000 -0500
+++ b/makefiles/Makefile.linux	2012-02-22 06:15:45.652523000 -0500
@@ -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:[~2012-02-22 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-22 11:28 [gentoo-commits] gentoo-x86 commit in dev-db/slony1/files: slony1-2.1.1-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