[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 926d9f91: Fix math_functions_test build when
From: |
Vadim Zeitlin |
Subject: |
[lmi-commits] [lmi] master 926d9f91: Fix math_functions_test build when using autotools |
Date: |
Sat, 21 May 2022 08:21:08 -0400 (EDT) |
branch: master
commit 926d9f91ca4fc561790539bec3f83c922e08180d
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>
Fix math_functions_test build when using autotools
Put fdlibm_*.c files in SOURCES, not LDADD, as this is what they are.
Note that we don't need to use the hack with the per-target custom
CXXFLAGS here as long as these files are only compiled as part of this
test -- but it would become needed if they were reused in another test
or as part of some library in the future.
---
Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index ea4982f2..638782d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -875,9 +875,11 @@ map_lookup_test_LDADD = \
materially_equal_test_LDADD = \
libtest_common.la
-math_functions_test_LDADD = \
+math_functions_test_SOURCES = \
fdlibm_expm1.c \
fdlibm_log1p.c \
+ math_functions_test.cpp
+math_functions_test_LDADD = \
libtest_common.la
mc_enum_test_SOURCES = \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 926d9f91: Fix math_functions_test build when using autotools,
Vadim Zeitlin <=