Description: Fix buildsystem - Enable us to build pcc-libs with pcc Author: Thorsten Glaser 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@