fix compile with DODEBUG=y
commit55532a6ae663cc0f20bdf62d6c5d06db766b55f3
authorWaldemar Brodkorb <wbx@openadk.org>
Sat, 9 Jan 2016 08:09:51 +0000 (9 09:09 +0100)
committerWaldemar Brodkorb <wbx@openadk.org>
Sat, 9 Jan 2016 08:09:51 +0000 (9 09:09 +0100)
treee37c7df64cc9c54448864c77c0c6030b87c91ffa
parentfad6c6021feb6c2dd4a3bd5de1113994d4a9b04e
fix compile with DODEBUG=y

Since more projects using two-stage cross-compile process we
cannot add libgcc_eh.a unconditionally. We must check if
a real file is referenced by the cross-compiler.
Toolchains with --disabel-shared build have a single
libgcc.a containing all required symbols.
Tested with a debug build for x86.
Rules.mak