aboutsummaryrefslogtreecommitdiff
path: root/math/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/Makefile')
-rw-r--r--math/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index ec7d91c..6ad3cce 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -160,6 +160,10 @@ gen-calls = s_ldexpF
generated += $(foreach s,.c .S,$(call type-foreach, $(calls:s_%=m_%$(s))))
routines = $(call type-foreach, $(calls))
+ifeq ($(enable-float128),yes)
+math-CPPFLAGS += -DWANT_FLOAT128=1
+endif
+
ifeq ($(build-mathvec),yes)
# We need to install libm.so and libm.a as linker scripts
# for transparent use of vector math library.