diff options
author | Vincent Sanders <vince@kyllikki.org> | 2017-09-15 16:22:30 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2017-09-15 16:22:30 +0100 |
commit | 80b51e851716e92eee32e7750ad0f05dba60b2c1 (patch) | |
tree | e44a8fcadd01e23176eec941f3c01acd010aa3b1 | |
parent | c743a1968ffec8ca2b22f7cb5595cc36e1f3e018 (diff) | |
download | toolchains-80b51e851716e92eee32e7750ad0f05dba60b2c1.tar.gz toolchains-80b51e851716e92eee32e7750ad0f05dba60b2c1.tar.bz2 |
apply part of upstream fix for inline redefinition
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ec1cc0263f156f70693a62cf17b254a0029f4852
-rw-r--r-- | i686-w64-mingw32/Makefile | 1 | ||||
-rw-r--r-- | i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_gperf.p | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/i686-w64-mingw32/Makefile b/i686-w64-mingw32/Makefile index 4a5a7e7..e3b6cfb 100644 --- a/i686-w64-mingw32/Makefile +++ b/i686-w64-mingw32/Makefile @@ -104,6 +104,7 @@ $(BUILDSTEPS)/mingw-srcdir.d: $(SOURCESDIR)/$(UPSTREAM_MINGW_TARBALL) ### $(BUILDSTEPS)/srcdir-step3.d: $(BUILDSTEPS)/srcdir-step2.d + for p in `ls $(RECIPES)/patches/gcc4/*.p` ; do patch -d $(GCC_SRCDIR)/gcc -p0 <$$p ; done touch $@ $(BUILDSTEPS)/srcdir-step2.d: $(BUILDSTEPS)/srcdir-step1.d $(SOURCESDIR)/$(UPSTREAM_GMP_TARBALL) $(SOURCESDIR)/$(UPSTREAM_MPFR_TARBALL) $(SOURCESDIR)/$(UPSTREAM_MPC_TARBALL) diff --git a/i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_gperf.p b/i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_gperf.p new file mode 100644 index 0000000..f0598e5 --- /dev/null +++ b/i686-w64-mingw32/recipes/patches/gcc4/cp_cfns_gperf.p @@ -0,0 +1,17 @@ +--- gcc/cp/cfns.gperf.orig 2017-09-15 16:17:49.249145794 +0100 ++++ gcc/cp/cfns.gperf 2017-09-15 16:18:26.468005263 +0100 +@@ -16,14 +16,6 @@ + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ +-#ifdef __GNUC__ +-__inline +-#endif +-static unsigned int hash (const char *, unsigned int); +-#ifdef __GNUC__ +-__inline +-#endif +-const char * libc_name_p (const char *, unsigned int); + %} + %% + # The standard C library functions, for feeding to gperf; the result is used |