toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 19 Jan 2009 09:18:46 +0000 (09:18 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 19 Jan 2009 09:18:46 +0000 (09:18 -0000)
commitbc65432230a5fd858b4a158dd7b7650e82ca374e
tree9d8086d1e9a3347fdeed53c934427e992eaf203a
parent4bcbf87c99589433bfc0d39ad4e1b4b28bc8a15d
toolchain: introduce HOSTCC_VERSION and fix gcc-4.3.x build with old host CCs

gcc < 4.2.0 doesn't support -Wno-overlength-stings, but gcc-4.3.x configure
fails to detect that, breaking the build.

Work around it by detecting the host gcc version (and store in HOSTCC_VERSION)
and set the proper configure variables for gcc < 4.2.0.
package/Makefile.in
toolchain/gcc/gcc-uclibc-4.x.mk