cpow functions need -ffast-math to build

otherwise gcc ends up requiring __muldc3 from compiler_rt
This commit is contained in:
ahgamut 2022-06-15 23:52:43 +05:30
parent 911c8dc41a
commit 34d27dea04

View file

@ -41,7 +41,10 @@ $(LIBC_TINYMATH_A).pkg: \
$(LIBC_TINYMATH_A_OBJS) \
$(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 += \
-ffast-math