mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
package/gmp: enable C++ support when BR2_INSTALL_LIBSTDCPP=y
gmp has optional C++ support, which is disabled by default. Let's enabled it conditionally depending on the BR2_INSTALL_LIBSTDCPP option. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
6942a0badb
commit
1abb95c976
@ -19,5 +19,11 @@ ifeq ($(BR2_m68k_cf)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6)$(BR2_ARM_CP
|
|||||||
GMP_CONF_OPTS += --disable-assembly
|
GMP_CONF_OPTS += --disable-assembly
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||||
|
GMP_CONF_OPTS += --enable-cxx
|
||||||
|
else
|
||||||
|
GMP_CONF_OPTS += --disable-cxx
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user