cpu/native: Workaround for libstdcpp for FreeBSD
On FreeBSD, libstdc++ is known to not work with -m32. Thus, we don't provide it feature libstdcpp there.
This commit is contained in:
parent
cf482c5d46
commit
0ed7ead587
@ -1,7 +1,15 @@
|
||||
ifeq (FreeBSD,$(OS))
|
||||
DISABLE_LIBSTDCPP ?= 1
|
||||
endif
|
||||
|
||||
FEATURES_PROVIDED += arch_32bit
|
||||
FEATURES_PROVIDED += arch_native
|
||||
FEATURES_PROVIDED += cpp
|
||||
FEATURES_PROVIDED += libstdcpp
|
||||
ifneq ($(DISABLE_LIBSTDCPP),1)
|
||||
# libstdc++ on FreeBSD is broken (does not work with -m32)
|
||||
# Override with "export DISABLE_LIBSTDCPP=0"
|
||||
FEATURES_PROVIDED += libstdcpp
|
||||
endif
|
||||
FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_eeprom
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user