2014-05-07 21:52:52 +00:00
|
|
|
STDCXX_INCLUDE_DIR := $(call select_from_repositories,include/stdcxx)
|
|
|
|
|
|
|
|
INC_DIR += $(STDCXX_INCLUDE_DIR) \
|
|
|
|
$(STDCXX_INCLUDE_DIR)/std \
|
|
|
|
$(STDCXX_INCLUDE_DIR)/c_global
|
|
|
|
|
|
|
|
STDCXX_PORT_INCLUDE_DIR := $(call select_from_ports,stdcxx)/include/stdcxx
|
|
|
|
INC_DIR += $(STDCXX_PORT_INCLUDE_DIR) \
|
|
|
|
$(STDCXX_PORT_INCLUDE_DIR)/std \
|
|
|
|
$(STDCXX_PORT_INCLUDE_DIR)/c_global
|
2012-08-31 15:13:06 +00:00
|
|
|
|
2017-04-09 19:02:41 +00:00
|
|
|
# stdcxx headers include libc headers
|
2012-08-31 15:13:06 +00:00
|
|
|
include $(call select_from_repositories,lib/import/import-libc.mk)
|
|
|
|
|
|
|
|
# prevent gcc headers from defining mbstate
|
|
|
|
CC_OPT += -D_GLIBCXX_HAVE_MBSTATE_T
|
|
|
|
|
|
|
|
# use compiler-builtin atomic operations
|
|
|
|
CC_OPT += -D_GLIBCXX_ATOMIC_BUILTINS_4
|
2019-04-26 10:47:33 +00:00
|
|
|
|
|
|
|
# No isinf isnan
|
|
|
|
CC_OPT += -D_GLIBCXX_NO_OBSOLETE_ISINF_ISNAN_DYNAMIC
|