mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-09 19:30:29 +00:00
cpow functions need -ffast-math to build
otherwise gcc ends up requiring __muldc3 from compiler_rt
This commit is contained in:
parent
911c8dc41a
commit
34d27dea04
1 changed files with 4 additions and 1 deletions
|
@ -41,7 +41,10 @@ $(LIBC_TINYMATH_A).pkg: \
|
||||||
$(LIBC_TINYMATH_A_OBJS) \
|
$(LIBC_TINYMATH_A_OBJS) \
|
||||||
$(foreach x,$(LIBC_TINYMATH_A_DIRECTDEPS),$($(x)_A).pkg)
|
$(foreach x,$(LIBC_TINYMATH_A_DIRECTDEPS),$($(x)_A).pkg)
|
||||||
|
|
||||||
o/$(MODE)/libc/tinymath/powfin.o: \
|
o/$(MODE)/libc/tinymath/cpow.o \
|
||||||
|
o/$(MODE)/libc/tinymath/cpowf.o \
|
||||||
|
o/$(MODE)/libc/tinymath/cpowl.o \
|
||||||
|
o/$(MODE)/libc/tinymath/powfin.o : \
|
||||||
OVERRIDE_CFLAGS += \
|
OVERRIDE_CFLAGS += \
|
||||||
-ffast-math
|
-ffast-math
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue