pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45256: lang/gcc46 not working properly on Solaris
Please add this patch to lang/gcc46
--- gcc/Makefile.in.orig 2011-05-23 18:12:34.000000000 +0000
+++ gcc/Makefile.in
@@ -2190,6 +2190,7 @@ prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_
# Language-independent files.
DRIVER_DEFINES = \
+ -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(exec_prefix)/lib\"" \
-DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
-DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
With this, "gcc -dumpspecs" reports the correct rpath for all shared
objects using libgcc_s.so. Kudos to the author of
lang/gcc34/patches/patch-cc.
--
Jörn Clausen
joern.clausen%uni-bielefeld.de@localhost
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
Home |
Main Index |
Thread Index |
Old Index