mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-09 19:30:29 +00:00
fixes for building superconfigure
This commit is contained in:
parent
b320321319
commit
81fbecc7d3
3 changed files with 10 additions and 1 deletions
0
libc/isystem/cxxabi.h
Normal file
0
libc/isystem/cxxabi.h
Normal file
4
libc/isystem/future
Normal file
4
libc/isystem/future
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_ISYSTEM_FUTURE_
|
||||
#define COSMOPOLITAN_LIBC_ISYSTEM_FUTURE_
|
||||
#include "third_party/libcxx/future"
|
||||
#endif /* COSMOPOLITAN_LIBC_ISYSTEM_FUTURE_ */
|
|
@ -63,7 +63,12 @@ fi
|
|||
CC="$BIN/$ARCH-linux-cosmo-gcc"
|
||||
CRT="$BIN/../$ARCH-linux-cosmo/lib/crt.o"
|
||||
LDLIBS="-lcosmo"
|
||||
LDFLAGS="$LDFLAGS -L$BIN/../$ARCH-linux-cosmo/lib"
|
||||
if [ -z "$COSMOS" ]; then
|
||||
LDFLAGS="$LDFLAGS -L$BIN/../$ARCH-linux-cosmo/lib"
|
||||
else
|
||||
LDFLAGS="$LDFLAGS -L$COSMOS/lib -L$BIN/../$ARCH-linux-cosmo/lib"
|
||||
CPPFLAGS="$CPPFLAGS -I$COSMOS/include"
|
||||
fi
|
||||
if [ x"$PROG" != x"${PROG%++}" ]; then
|
||||
CC="$BIN/$ARCH-linux-cosmo-g++"
|
||||
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -fuse-cxa-atexit"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue