gcc/gcc-final: pass TARGET_ABI flags to configure with --enable-cxx-flags
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 May 2015 07:32:36 +0000 (10:32 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 31 May 2015 20:51:21 +0000 (22:51 +0200)
commit2dcab526a97d1dbcb73c3cd578e5bf2853853a10
tree0f64d4e28a2f0e13cb7166944236240bc9806722
parent4297e7298edbef6dde75d8bf468441c6a242da5c
gcc/gcc-final: pass TARGET_ABI flags to configure with --enable-cxx-flags

libstdc++ is in all regards a normal library, it needs to be built with
TARGET_ABI flags, otherwise linking it with other C++ code may fail.

Pass TARGET_ABI flags to gcc-final configure script in the
--enable-cxx-flags parameter.

Fixes:
  http://autobuild.buildroot.net/results/81a3bca5cbcf789c7ce1aa221a6a4154dd7c3917/
  http://autobuild.buildroot.net/results/4943b214c29951ecc7af0a1f360b6454485c0b9b/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gcc/gcc-final/gcc-final.mk