SOURCES: klibc-klcc.patch (NEW) - fix klcc wrapper searchdirs.
pluto
pluto at pld-linux.org
Mon Jun 13 21:06:31 CEST 2005
Author: pluto Date: Mon Jun 13 19:06:30 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix klcc wrapper searchdirs.
---- Files affected:
SOURCES:
klibc-klcc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/klibc-klcc.patch
diff -u /dev/null SOURCES/klibc-klcc.patch:1.1
--- /dev/null Mon Jun 13 21:06:30 2005
+++ SOURCES/klibc-klcc.patch Mon Jun 13 21:06:25 2005
@@ -0,0 +1,47 @@
+--- klibc-1.0/klcc.in.orig 2005-03-07 22:44:49.000000000 +0100
++++ klibc-1.0/klcc.in 2005-06-13 21:05:09.000000000 +0200
+@@ -1,9 +1,9 @@
+ # -*- perl -*-
+
+ # Standard includes
+- at includes = ("-I${prefix}/${KCROSS}include/arch/${ARCH}",
+- "-I${prefix}/${KCROSS}include/bits${BITSIZE}",
+- "-I${prefix}/${KCROSS}include");
++ at includes = ("-I${includedir}/arch/${ARCH}",
++ "-I${includedir}/bits${BITSIZE}",
++ "-I${includedir}");
+
+ # Default optimization options (for compiles without -g)
+ @optopt = @OPTFLAGS;
+@@ -13,10 +13,10 @@
+ @stdlibpath = ("-L${prefix}/${KCROSS}lib");
+
+ # Options and libraries to pass to ld; shared versus static
+- at staticopt = ("${prefix}/${KCROSS}lib/crt0.o");
+- at staticlib = ("${prefix}/${KCROSS}lib/libc.a");
+- at sharedopt = (@EMAIN, "${prefix}/${KCROSS}lib/interp.o");
+- at sharedlib = ('-R', "${prefix}/${KCROSS}lib/libc.so");
++ at staticopt = ("${libdir}/crt0.o");
++ at staticlib = ("${libdir}/libc.a");
++ at sharedopt = (@EMAIN, "${libdir}/interp.o");
++ at sharedlib = ('-R', "${libdir}/libc.so");
+
+ # Returns the language (-x option string) for a specific extension.
+ sub filename2lang($) {
+--- klibc-1.0/Makefile.orig 2005-03-07 19:17:15.000000000 +0100
++++ klibc-1.0/Makefile 2005-06-13 20:57:41.000000000 +0200
+@@ -27,10 +27,10 @@
+ echo 'STRIPFLAGS=$(STRIPFLAGS)' >> $@
+ echo 'EMAIN=$(EMAIN)' >> $@
+ echo 'BITSIZE=$(BITSIZE)' >> $@
+- echo 'prefix=$(INSTALLDIR)' >> $@
+- echo 'bindir=$(INSTALLDIR)/$(KCROSS)bin' >> $@
+- echo 'libdir=$(INSTALLDIR)/$(KCROSS)lib' >> $@
+- echo 'includedir=$(INSTALLDIR)/$(KCROSS)include' >> $@
++ echo 'prefix=$(prefix)' >> $@
++ echo 'bindir=$(bindir)' >> $@
++ echo 'libdir=$(libdir)' >> $@
++ echo 'includedir=$(includedir)' >> $@
+
+ $(CROSS)klcc: klcc.in $(CROSS)klibc.config makeklcc.pl
+ $(PERL) makeklcc.pl klcc.in $(CROSS)klibc.config \
================================================================
More information about the pld-cvs-commit
mailing list