summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2010-04-14 19:44:52 +0000
committerHarald van Dijk <truedfx@gentoo.org>2010-04-14 19:44:52 +0000
commit9c19b95d284c91b36f264746622e5f04f7d1b641 (patch)
tree3436099d8b75e12a0a5613fb1307eff8173771a5 /dev-lang/icon
parentcs and pl LINGUAS aren't there yet (diff)
downloadgentoo-2-9c19b95d284c91b36f264746622e5f04f7d1b641.tar.gz
gentoo-2-9c19b95d284c91b36f264746622e5f04f7d1b641.tar.bz2
gentoo-2-9c19b95d284c91b36f264746622e5f04f7d1b641.zip
Use LDFLAGS when linking
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/icon')
-rw-r--r--dev-lang/icon/ChangeLog6
-rw-r--r--dev-lang/icon/files/icon-9.4.3-flags.patch22
2 files changed, 27 insertions, 1 deletions
diff --git a/dev-lang/icon/ChangeLog b/dev-lang/icon/ChangeLog
index 2ff67584df1c..8f72bb26569c 100644
--- a/dev-lang/icon/ChangeLog
+++ b/dev-lang/icon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/icon
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v 1.38 2010/01/03 06:56:05 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v 1.39 2010/04/14 19:44:51 truedfx Exp $
+
+ 14 Apr 2010; Harald van Dijk <truedfx@gentoo.org>
+ files/icon-9.4.3-flags.patch:
+ Use LDFLAGS when linking
*icon-9.4.3-r5 (03 Jan 2010)
diff --git a/dev-lang/icon/files/icon-9.4.3-flags.patch b/dev-lang/icon/files/icon-9.4.3-flags.patch
index d929e776ca69..cdb5adcd1b4e 100644
--- a/dev-lang/icon/files/icon-9.4.3-flags.patch
+++ b/dev-lang/icon/files/icon-9.4.3-flags.patch
@@ -1,3 +1,25 @@
+--- icon.v943src/ipl/cfuncs/Makefile
++++ icon.v943src/ipl/cfuncs/Makefile
+@@ -25,7 +25,7 @@
+ # library
+
+ $(FUNCLIB): $(FUNCS) mklib.sh
+- CC="$(CC)" CFLAGS="$(CFLAGS)" sh mklib.sh $(FUNCLIB) $(FUNCS)
++ CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" sh mklib.sh $(FUNCLIB) $(FUNCS)
+ $(FUNCS): icall.h
+
+
+--- icon.v943src/ipl/cfuncs/mklib.sh
++++ icon.v943src/ipl/cfuncs/mklib.sh
+@@ -11,7 +11,7 @@
+ set -x
+ case "$SYS" in
+ Linux*|*BSD*|GNU*)
+- gcc -shared -o $LIBNAME -fPIC "$@";;
++ $CC -shared -o $LIBNAME $CFLAGS $LDFLAGS -fPIC "$@";;
+ Darwin*)
+ cc -bundle -undefined suppress -flat_namespace -o $LIBNAME "$@";;
+ SunOS*)
--- icon.v943src/src/common/Makefile
+++ icon.v943src/src/common/Makefile
@@ -8,7 +8,7 @@