summaryrefslogtreecommitdiffstats
path: root/development/pcc-libs/002-build-libpcc-with-pcc.patch
diff options
context:
space:
mode:
author Armin Besirovic <armin[at]linux[dot]org[dot]ba>2011-06-18 15:55:05 -0500
committer Robby Workman <rworkman@slackbuilds.org>2011-06-18 15:55:05 -0500
commitfddfe1e62f64f96b798ed9093294595939647f69 (patch)
treeb1816a1116b7fcdc5170330775ef1d2bca0f3323 /development/pcc-libs/002-build-libpcc-with-pcc.patch
parent5db71a06514191e0020c8d844e2a94347182710c (diff)
downloadslackbuilds-fddfe1e62f64f96b798ed9093294595939647f69.tar.gz
slackbuilds-fddfe1e62f64f96b798ed9093294595939647f69.tar.xz
development/pcc-libs: Added (C Library for the Portable C Compiler)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/pcc-libs/002-build-libpcc-with-pcc.patch')
-rw-r--r--development/pcc-libs/002-build-libpcc-with-pcc.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/development/pcc-libs/002-build-libpcc-with-pcc.patch b/development/pcc-libs/002-build-libpcc-with-pcc.patch
new file mode 100644
index 0000000000..4dac809e8a
--- /dev/null
+++ b/development/pcc-libs/002-build-libpcc-with-pcc.patch
@@ -0,0 +1,26 @@
+Description: Fix buildsystem
+ - Enable us to build pcc-libs with pcc
+Author: Thorsten Glaser <tg@mirbsd.de>
+Forwarded: http://article.gmane.org/gmane.comp.compilers.pcc/2094
+Last-Update: $MirOS: contrib/hosted/tg/deb/pcc/debian/patches/002-build-libpcc-with-pcc,v 1.1 2011/04/22 19:15:01 tg Exp $
+
+--- pcc-libs-1.0.0/libsoftfloat/Makefile.in
++++ pcc-libs-1.0.0/libsoftfloat/Makefile.in
+@@ -18,6 +18,7 @@ VERSION = @version@
+ PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/lib
+
+ CPPFLAGS += @CPPFLAGS@ -DSOFTFLOAT_FOR_GCC -I$(srcdir) -I$(srcdir)/arch/$(TARGMACH)
++CPPFLAGS += -isystem $(top_srcdir)/libpcc/include
+
+ LIBS = @LIBS@
+ AR = @AR@
+--- pcc-libs-1.0.0/libpcc/Makefile.in
++++ pcc-libs-1.0.0/libpcc/Makefile.in
+@@ -20,6 +20,7 @@ PCCLIBDIR = $(libdir)/pcc/$(TARGET)/$(VE
+ PCCINCDIR = $(libdir)/pcc/$(TARGET)/$(VERSION)/include
+
+ CPPFLAGS += @CPPFLAGS@ -I$(srcdir) @ENDIAN_FLAG@ -Dos_$(TARGOS)
++CPPFLAGS += -isystem $(top_srcdir)/libpcc/include
+
+ LIBS = @LIBS@
+ AR = @AR@