From 927e6cf46d93f77f63243d96f98e8599ad21b14f Mon Sep 17 00:00:00 2001 From: bebbo Date: Sun, 18 Jun 2017 20:08:19 +0200 Subject: [PATCH] @R clean includes/-fix if gcc was changed --- toolchain-m68k | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toolchain-m68k b/toolchain-m68k index cc0eb86..848e508 100755 --- a/toolchain-m68k +++ b/toolchain-m68k @@ -358,6 +358,9 @@ def _build(pull): removemodule('{clib2}') removemodule('{libdebug}') removemodule('{libm}') + rmtree(path.join('{build}', '{gcc}', 'gcc/include')) + rmtree(path.join('{build}', '{gcc}', 'gcc/include-fixed')) + remove(path.join('{build}', '{gcc}', 'gcc/stmp*')) if checkstamps('{libnix}'): removemodule('{libnix}') @@ -517,7 +520,7 @@ def _build(pull): '--enable-languages=c,c++,objc', '--enable-version-specific-runtime-libs', '--disable-libssp', - '--with-headers={sources}/{ixemul}/include', +# '--with-headers={sources}/{ixemul}/include', from_dir='{submodules}/{gcc}') touch_genfiles('{submodules}/{gcc}') make('{gcc}', 'all-gcc',