mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-31 15:07:43 +00:00
package: set CXX to false rather than "" if no C++ support is enabled
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. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
a657cf77ea
commit
a0352751ac
@ -371,7 +371,7 @@ DISABLE_IPV6= --disable-ipv6
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_GCC_CROSS_CXX),y)
|
ifneq ($(BR2_GCC_CROSS_CXX),y)
|
||||||
TARGET_CONFIGURE_OPTS+=CXX=""
|
TARGET_CONFIGURE_OPTS+=CXX=false
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user