InputEvents: make "Pan" a virtual mode
[xcsoar.git] / build / libcxx.mk
blob5ade4d4a9d0db1c8e2ec9d7dcfaaa89326644bc3
1 # libc++, the C++ standard library implementation from the LLVM
2 # project.
4 LIBCXX_CXXFLAGS = -Wno-char-subscripts -Wno-sign-compare
5 LIBCXX_CPPFLAGS = -nostdinc++ -isystem $(LIBCXX)/include -DLIBCXX
6 LIBCXX_CPPFLAGS_INTERNAL = -D_WIN32=0
7 LIBCXX_SOURCES = \
8 $(SRC)/LibCXX.cpp \
9 $(LIBCXX)/src/hash.cpp \
10 $(LIBCXX)/src/string.cpp
12 ifeq ($(TARGET),ANDROID)
13 LIBCXX_CPPFLAGS_INTERNAL += -D__APPLE__=0
14 LIBCXX_SOURCES += $(LIBCXX)/src/new.cpp
15 endif
17 $(eval $(call link-library,libcxx,LIBCXX))