package/gtest: needs gcc >= 4.9

gtest unconditionally uses is_trivially_copy_constructible since
version 1.11.0 and
c13c27a513

So add a dependency on gcc >= 4.9 to avoid a build failure since commit
9dfbbbb410

Fixes:
 - http://autobuild.buildroot.org/results/3d23d7c2c340c23e468890e4df73a9b3b142ecf6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-07-31 22:05:55 +02:00 committed by Thomas Petazzoni
parent 047d7cb173
commit be38432532

View File

@ -3,6 +3,7 @@ config BR2_PACKAGE_GTEST
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_USE_MMU # fork()
help
Google's framework for writing C++ tests on a variety of
@ -48,7 +49,8 @@ config BR2_PACKAGE_GTEST_GMOCK
endif # BR2_PACKAGE_GTEST
comment "gtest needs a toolchain w/ C++, wchar, threads"
comment "gtest needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP
!BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9