genode/repos/libports/lib/import/import-stdcxx.mk
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

15 lines
419 B
Makefile

REP_INC_DIR += include/stdcxx
REP_INC_DIR += include/stdcxx/std
REP_INC_DIR += include/stdcxx/c_std
REP_INC_DIR += include/stdcxx/c_global
REP_INC_DIR += include/stdcxx-genode
LIBS += libc
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