mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Fix MODE=dbg build errors
This commit is contained in:
parent
b0df6c1fce
commit
f9fc7eb49f
2 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,7 @@ exp10 (double x)
|
|||
Approximate the two components separately. */
|
||||
|
||||
/* s = 2^(k/N), using lookup table. */
|
||||
uint64_t e = ki << (52 - EXP_TABLE_BITS);
|
||||
uint64_t e = (uint64_t)ki << (52 - EXP_TABLE_BITS);
|
||||
uint64_t i = (ki & IndexMask) * 2;
|
||||
uint64_t u = __exp_data.tab[i + 1];
|
||||
uint64_t sbits = u + e;
|
||||
|
|
2
third_party/chibicc/test/BUILD.mk
vendored
2
third_party/chibicc/test/BUILD.mk
vendored
|
@ -11,6 +11,7 @@
|
|||
# GCC-built chibicc, and a second time with chibicc-built chibicc
|
||||
|
||||
ifeq ($(ARCH), x86_64)
|
||||
ifneq ($(MODE), dbg)
|
||||
|
||||
PKGS += THIRD_PARTY_CHIBICC_TEST
|
||||
|
||||
|
@ -75,6 +76,7 @@ o/$(MODE)/third_party/chibicc/test/%.o: \
|
|||
@$(COMPILE) -wAOBJECTIFY.c $(CHIBICC) $(CHIBICC_FLAGS) $(OUTPUT_OPTION) -c $<
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
.PHONY: o/$(MODE)/third_party/chibicc/test
|
||||
o/$(MODE)/third_party/chibicc/test: \
|
||||
|
|
Loading…
Reference in a new issue