mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-01 15:30:29 +00:00
Fix more build configuration errors
This commit is contained in:
parent
a75175fe94
commit
9ae230afad
13 changed files with 24 additions and 17 deletions
2
third_party/make/job.c
vendored
2
third_party/make/job.c
vendored
|
@ -45,6 +45,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include "libc/log/log.h"
|
||||
#include "libc/log/rop.internal.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/math.h"
|
||||
#include "libc/nexgen32e/kcpuids.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include "libc/sock/sock.h"
|
||||
|
@ -59,7 +60,6 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#include "libc/sysv/errfuns.h"
|
||||
#include "libc/time/time.h"
|
||||
#include "libc/x/x.h"
|
||||
#include "third_party/libcxx/math.h"
|
||||
#include "third_party/make/commands.h"
|
||||
#include "third_party/make/dep.h"
|
||||
#include "third_party/make/os.h"
|
||||
|
|
1
third_party/python/Modules/tokenbucket.c
vendored
1
third_party/python/Modules/tokenbucket.c
vendored
|
@ -37,7 +37,6 @@
|
|||
#include "libc/sysv/consts/sock.h"
|
||||
#include "libc/sysv/consts/timer.h"
|
||||
#include "net/http/tokenbucket.h"
|
||||
#include "third_party/libcxx/math.h"
|
||||
#include "third_party/python/Include/bytesobject.h"
|
||||
#include "third_party/python/Include/import.h"
|
||||
#include "third_party/python/Include/intrcheck.h"
|
||||
|
|
3
third_party/sqlite3/rtree.c
vendored
3
third_party/sqlite3/rtree.c
vendored
|
@ -1,3 +1,4 @@
|
|||
// clang-format off
|
||||
/*
|
||||
** 2001 September 15
|
||||
**
|
||||
|
@ -4399,7 +4400,7 @@ static void rtreecheck(
|
|||
|
||||
/* Conditionally include the geopoly code */
|
||||
#ifdef SQLITE_ENABLE_GEOPOLY
|
||||
# include "geopoly.inc"
|
||||
#include "third_party/sqlite3/geopoly.inc"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
2
third_party/zstd/lib/decompress/zstd_ddict.c
vendored
2
third_party/zstd/lib/decompress/zstd_ddict.c
vendored
|
@ -26,7 +26,7 @@
|
|||
#include "third_party/zstd/lib/decompress/zstd_ddict.h"
|
||||
|
||||
#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
|
||||
#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
//#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
#include "third_party/zstd/lib/common/bits.h" /* ZSTD_highbit32 */
|
||||
|
||||
#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT>=1)
|
||||
#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
//#include "third_party/zstd/lib/legacy/zstd_legacy.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
9
third_party/zstd/zstd.mk
vendored
9
third_party/zstd/zstd.mk
vendored
|
@ -12,6 +12,9 @@ THIRD_PARTY_ZSTD_A_INCS = $(filter %.inc,$(THIRD_PARTY_ZSTD_A_FILES))
|
|||
THIRD_PARTY_ZSTD_A_OBJS = $(THIRD_PARTY_ZSTD_A_SRCS:%.c=o/$(MODE)/%.o)
|
||||
|
||||
THIRD_PARTY_ZSTD_A_FILES := \
|
||||
third_party/zstd/zstd.h \
|
||||
third_party/zstd/zdict.h \
|
||||
third_party/zstd/zstd_errors.h \
|
||||
third_party/zstd/lib/common/allocations.h \
|
||||
third_party/zstd/lib/common/bits.h \
|
||||
third_party/zstd/lib/common/bitstream.h \
|
||||
|
@ -166,9 +169,11 @@ o/$(MODE)/third_party/zstd/lib/compress/zstd_lazy.o: \
|
|||
THIRD_PARTY_ZSTD_BINS = $(THIRD_PARTY_ZSTD_COMS) $(THIRD_PARTY_ZSTD_COMS:%=%.dbg)
|
||||
THIRD_PARTY_ZSTD_COMS = o/$(MODE)/third_party/zstd/zstd.com
|
||||
THIRD_PARTY_ZSTD_LIBS = $(THIRD_PARTY_ZSTD_A)
|
||||
|
||||
THIRD_PARTY_ZSTD_CHECKS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_CHECKS))
|
||||
THIRD_PARTY_ZSTD_SRCS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_SRCS))
|
||||
THIRD_PARTY_ZSTD_INCS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_INCS))
|
||||
THIRD_PARTY_ZSTD_HDRS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_HDRS))
|
||||
THIRD_PARTY_ZSTD_OBJS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_OBJS))
|
||||
THIRD_PARTY_ZSTD_CHECKS = $(foreach x,$(THIRD_PARTY_ZSTD_ARTIFACTS),$($(x)_CHECKS))
|
||||
$(THIRD_PARTY_ZSTD_OBJS): $(BUILD_FILES) third_party/zstd/zstd.mk
|
||||
|
||||
.PHONY: o/$(MODE)/third_party/zstd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue