[SM-Commit] GIT changes to master grimoire by Eric Sandall (15c80c340e24bb479e5da858db899cec47565fd6)

Eric Sandall scm at sourcemage.org
Thu May 7 13:35:35 EDT 2009


GIT changes to master grimoire by Eric Sandall <sandalle at sourcemage.org>:

 libs/libcfg+/BUILD   |   11 ++++++++---
 libs/libcfg+/HISTORY |    6 ++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

New commits:
commit 15c80c340e24bb479e5da858db899cec47565fd6
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>

    libcfg+: Fix passing linker flags properly to ld
    When the build passes directly to ld, instead of through gcc,
    strip the '-Wl,' prefix
    See http://www.gentoo.org/proj/en/qa/asneeded.xml

diff --git a/libs/libcfg+/BUILD b/libs/libcfg+/BUILD
index bf752b9..d1ff701 100755
--- a/libs/libcfg+/BUILD
+++ b/libs/libcfg+/BUILD
@@ -1,3 +1,8 @@
-LDFLAGS=${LDFLAGS/-Wl,-O1/} &&
-LDFLAGS=${LDFLAGS/-Wl,--as-needed/} &&
-default_build
+./configure --prefix=${INSTALL_ROOT}/usr                 \
+        --sysconfdir=${INSTALL_ROOT}/etc                 \
+     --localstatedir=${INSTALL_ROOT}/var                 \
+            --mandir=${INSTALL_ROOT}/usr/share/man       \
+           --infodir=${INSTALL_ROOT}/usr/share/info      \
+                     $OPTS                               &&
+
+make LDFLAGS="${LDFLAGS//-Wl,}"
diff --git a/libs/libcfg+/HISTORY b/libs/libcfg+/HISTORY
index 7500000..d423069 100644
--- a/libs/libcfg+/HISTORY
+++ b/libs/libcfg+/HISTORY
@@ -1,3 +1,9 @@
+2009-05-07 Eric Sandall <sandalle at sourcemage.org>
+	* BUILD: Fix passing linker flags properly to ld
+	  When the build passes directly to ld, instead of through gcc,
+	  strip the '-Wl,' prefix
+	  See http://www.gentoo.org/proj/en/qa/asneeded.xml
+
 2009-03-14 Eric Sandall <sandalle at sourcemage.org>
 	* INSTALL: Fails to install with multiple make jobs
 



More information about the SM-Commit mailing list