mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 19:58:30 +00:00
Upgrade to 2022-era LLVM LIBCXX
This commit is contained in:
parent
2f4ca71f26
commit
8e68384e15
2078 changed files with 165657 additions and 65010 deletions
|
@ -251,6 +251,7 @@ if [ x"$PROG" != x"${PROG%++}" ]; then
|
|||
CC_X86_64="$BIN/x86_64-linux-cosmo-g++"
|
||||
CC_AARCH64="$BIN/aarch64-linux-cosmo-g++"
|
||||
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -fuse-cxa-atexit"
|
||||
CPPFLAGS="-isystem $BIN/../include/third_party/libcxx $CPPFLAGS"
|
||||
fi
|
||||
|
||||
CRT_X86_64="$BIN/../x86_64-linux-cosmo/lib/ape.o $BIN/../x86_64-linux-cosmo/lib/crt.o"
|
||||
|
|
|
@ -71,6 +71,7 @@ fi
|
|||
if [ x"$PROG" != x"${PROG%++}" ]; then
|
||||
CC="$BIN/$ARCH-linux-cosmo-g++"
|
||||
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -fuse-cxa-atexit"
|
||||
CPPFLAGS="-isystem $BIN/../include/third_party/libcxx $CPPFLAGS"
|
||||
LDLIBS="-lcxx $LDLIBS"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue