From: Arne Fitzenreiter Date: Wed, 13 Jan 2016 18:04:56 +0000 (+0100) Subject: toolchain: enable bootstrap and remove *.py files from lib. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e96dd142aa6a54f970968c8a1bb2087aa8c6147;p=people%2Fms%2Fipfire-2.x.git toolchain: enable bootstrap and remove *.py files from lib. only with bootstrap the gcc pass2 build works on arm. Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/gcc b/lfs/gcc index ea8ef60f04..d28fa852f9 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2011 IPFire Team # +# Copyright (C) 2007-2016 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -106,7 +106,7 @@ ifeq "$(PASS)" "2" --enable-__cxa_atexit \ --enable-languages=c,c++ \ --disable-libstdcxx-pch \ - --disable-bootstrap + --enable-bootstrap EXTRA_MAKE = EXTRA_INSTALL = else @@ -289,6 +289,9 @@ ifeq "$(ROOT)" "" else ifeq "$(PASS)" "1" ln -svf libgcc.a $$(/tools/bin/$(CROSSTARGET)-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/') + + # remove gdb python files from libdir + rm -rf /tools/lib/*-gdb.py else ln -svf gcc /tools/bin/cc endif