Skip to contentSkip to conversation

package: set CXX to false rather than "" if no C++ support is enabled

PATCH New Peter Korsgaard 1 participant 1 message May 4, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package: set CXX to false rather than "" if no C++ support is enabled

From: Peter Korsgaard <[email protected]>

Some configure scripts seems to ignore CXX settings if it is set to the empty string, and goes back to the default (<arch>-linux-g++), so use false instead, as that will loudly break the build if the C++ compiler is ever used.

---
 package/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/Makefile.in +1 -1
index 2605639..7daa3b4 100644
@@ -371,7 +371,7 @@ DISABLE_IPV6= --disable-ipv6
 endif
 
 ifneq ($(BR2_GCC_CROSS_CXX),y)
-TARGET_CONFIGURE_OPTS+=CXX=""
+TARGET_CONFIGURE_OPTS+=CXX=false
 endif
 
 ifeq ($(BR2_ENABLE_DEBUG),y)
Signature · 1 line
1.6.2