landley / aboriginal

Aboriginal Linux - http://landley.net/aboriginal/about.html
197 stars 32 forks source link

Dual toolchain (revised pull request) #2

Open gtristan opened 8 years ago

gtristan commented 8 years ago

Updated dual-toolchain branch with a fix to gcc-gplv3.sh

We configure gcc with --disable-lto but gcc still produces the binutils wrapper tools gcc-nm, gcc-ar and gcc-ranlib, which require the presence of the lto plugin.

Now we just forcefully remove these wrappers after the build so that unsuspecting packages dont attempt to use these in place of regular binutils for linking and get link time errors.