apitrace: needs gcc 4.6 or later
authorBaruch Siach <baruch@tkos.co.il>
Wed, 30 Sep 2015 05:33:39 +0000 (08:33 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Sep 2015 08:16:40 +0000 (10:16 +0200)
Fixes:
http://autobuild.buildroot.net/results/4a1/4a183b05b44833ee2f253749c39257b31db963ac/
http://autobuild.buildroot.net/results/a9c/a9c4ed838fae31cb680ff5e19bf03dd7e2f85094/
http://autobuild.buildroot.net/results/026/026eecffd262b0be6675001ee2f5a635207e55c7/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/apitrace/Config.in

index 6491463263e269bc62a41add55c1a47cb1b28020..4fe82aa1b61c656b944d63a490065e8e6c7fb0c1 100644 (file)
@@ -1,11 +1,13 @@
-comment "apitrace needs a (e)glibc toolchain w/ C++"
+comment "apitrace needs a (e)glibc toolchain w/ C++, gcc >= 4.6"
        depends on BR2_PACKAGE_XORG7
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC \
+               || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
 
 config BR2_PACKAGE_APITRACE
        bool "apitrace"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_USES_GLIBC # uses glibc specific __libc_dlsym
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
        depends on BR2_PACKAGE_XORG7
        select BR2_PACKAGE_XLIB_LIBX11
        help