mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
parent
a1dd777f22
commit
3a8579252d
5 changed files with 100 additions and 111 deletions
14
third_party/libcxx/libcxx.mk
vendored
14
third_party/libcxx/libcxx.mk
vendored
|
@ -67,7 +67,6 @@ THIRD_PARTY_LIBCXX_A_HDRS = \
|
|||
third_party/libcxx/ctype.h \
|
||||
third_party/libcxx/cwchar \
|
||||
third_party/libcxx/cwctype \
|
||||
third_party/libcxx/cxxabi.h \
|
||||
third_party/libcxx/deque \
|
||||
third_party/libcxx/errno.h \
|
||||
third_party/libcxx/exception \
|
||||
|
@ -144,7 +143,6 @@ THIRD_PARTY_LIBCXX_A_SRCS_CC = \
|
|||
third_party/libcxx/chrono.cc \
|
||||
third_party/libcxx/condition_variable.cc \
|
||||
third_party/libcxx/condition_variable_destructor.cc \
|
||||
third_party/libcxx/demangle.cc \
|
||||
third_party/libcxx/exception.cc \
|
||||
third_party/libcxx/functional.cc \
|
||||
third_party/libcxx/future.cc \
|
||||
|
@ -175,7 +173,6 @@ THIRD_PARTY_LIBCXX_A_SRCS = \
|
|||
|
||||
THIRD_PARTY_LIBCXX_A_OBJS = \
|
||||
$(THIRD_PARTY_LIBCXX_A_SRCS_S:%.S=o/$(MODE)/%.o) \
|
||||
$(THIRD_PARTY_LIBCXX_A_SRCS_C:%.c=o/$(MODE)/%.o) \
|
||||
$(THIRD_PARTY_LIBCXX_A_SRCS_CC:%.cc=o/$(MODE)/%.o)
|
||||
|
||||
THIRD_PARTY_LIBCXX_A_CHECKS = \
|
||||
|
@ -214,16 +211,6 @@ $(THIRD_PARTY_LIBCXX_A_OBJS): private \
|
|||
-ffunction-sections \
|
||||
-fdata-sections
|
||||
|
||||
# Super gross! But I found no way to do -fno-error=permissive
|
||||
# this steps from the fact that demangle is a C++ file extension
|
||||
# but the source I copied was written in C.
|
||||
# The fix would be to go through all the casts and make them correct.
|
||||
o/$(MODE)/third_party/libcxx/demangle.o: private \
|
||||
CXXFLAGS += \
|
||||
-fpermissive \
|
||||
-Wno-error
|
||||
|
||||
|
||||
THIRD_PARTY_LIBCXX_LIBS = $(foreach x,$(THIRD_PARTY_LIBCXX_ARTIFACTS),$($(x)))
|
||||
THIRD_PARTY_LIBCXX_SRCS = $(foreach x,$(THIRD_PARTY_LIBCXX_ARTIFACTS),$($(x)_SRCS))
|
||||
THIRD_PARTY_LIBCXX_HDRS = $(foreach x,$(THIRD_PARTY_LIBCXX_ARTIFACTS),$($(x)_HDRS))
|
||||
|
@ -235,4 +222,3 @@ THIRD_PARTY_LIBCXX_OBJS = $(foreach x,$(THIRD_PARTY_LIBCXX_ARTIFACTS),$($(x)_OBJ
|
|||
o/$(MODE)/third_party/libcxx: \
|
||||
$(THIRD_PARTY_LIBCXX_CHECKS) \
|
||||
$(THIRD_PARTY_LIBCXX_A)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue