diff options
Diffstat (limited to 'development/pcc-libs/002-build-libpcc-with-pcc.patch')
-rw-r--r-- | development/pcc-libs/002-build-libpcc-with-pcc.patch | 26 |
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 000000000000..4dac809e8a49 --- /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@ |