Skip to contentSkip to conversation

package/google-breakpad: add C++11 dependency on the host variant

PATCH New Romain Naour 2 participants 2 messages Dec 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/google-breakpad: add C++11 dependency on the host variant

When google-breakpad has been updated to the latest version, the C++11 dependency has been added for the target variant only.
The C++11 dependency is also required for the host variant.

Fixes:
http://autobuild.buildroot.org/results/dce/dcecb17116c0cf400c98f0052c9bf71f15d0d398

---
 Config.in                         | 1 +
 package/google-breakpad/Config.in | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
Config.in +1 -0
index 7ea1e60..d3bb7b8 100644
@@ -529,6 +529,7 @@ config BR2_GOOGLE_BREAKPAD_ENABLE
 	bool "Enable google-breakpad support"
 	select BR2_PACKAGE_GOOGLE_BREAKPAD
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_HOST_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
package/google-breakpad/Config.in +2 -1
index 31ca422..c6171af 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
 config BR2_PACKAGE_GOOGLE_BREAKPAD
 	bool "google-breakpad"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_HOST_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -38,4 +39,4 @@ comment "google-breakpad requires a glibc or uClibc toolchain w/ wchar, thread,
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS || \
 		!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_HOST_GCC_AT_LEAST_4_7
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 package/google-breakpad: add C++11 dependency on the host variant

Hello,

Quoted 4 lines · Romain Naour

When google-breakpad has been updated to the latest version, the C++11 dependency has been added for the target variant only.
The C++11 dependency is also required for the host variant.

Quoted 8 lines

Fixes:
http://autobuild.buildroot.org/results/dce/dcecb17116c0cf400c98f0052c9bf71f15d0d398

---
 Config.in                         | 1 +
 package/google-breakpad/Config.in | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com