genode/repos/libports/lib/import/import-stdcxx.mk
Christian Prochaska 661a3100b1 stdcxx: update to version 6.3.0
Issue #2372
2017-05-31 13:15:50 +02:00

20 lines
662 B
Makefile

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
# stdcxx headers include libc headers
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