Fossil SCM

Added -lm to LIB in Makefile.classic to allow src/piechart.c to build on systems where the trig functions are in libm.

wyoung 2018-10-03 21:52 trunk
Commit ba71b359577721ff7e9bb8a7e5c26b5fa851a58189f8f5eb780e8538baeff758
1 file changed +4
--- Makefile.classic
+++ Makefile.classic
@@ -72,10 +72,14 @@
7272
# If using zlib:
7373
LIB += $(ZLIB_LIB.$(FOSSIL_ENABLE_MINIZ)) $(LDFLAGS)
7474
7575
# If using HTTPS:
7676
LIB += -lcrypto -lssl
77
+
78
+# Many platforms put cos() needed by src/piechart.c in libm, rather than
79
+# in libc.
80
+LIB += -lm
7781
7882
#### Tcl shell for use in running the fossil testsuite. If you do not
7983
# care about testing the end result, this can be blank.
8084
#
8185
TCLSH = tclsh
8286
--- Makefile.classic
+++ Makefile.classic
@@ -72,10 +72,14 @@
72 # If using zlib:
73 LIB += $(ZLIB_LIB.$(FOSSIL_ENABLE_MINIZ)) $(LDFLAGS)
74
75 # If using HTTPS:
76 LIB += -lcrypto -lssl
 
 
 
 
77
78 #### Tcl shell for use in running the fossil testsuite. If you do not
79 # care about testing the end result, this can be blank.
80 #
81 TCLSH = tclsh
82
--- Makefile.classic
+++ Makefile.classic
@@ -72,10 +72,14 @@
72 # If using zlib:
73 LIB += $(ZLIB_LIB.$(FOSSIL_ENABLE_MINIZ)) $(LDFLAGS)
74
75 # If using HTTPS:
76 LIB += -lcrypto -lssl
77
78 # Many platforms put cos() needed by src/piechart.c in libm, rather than
79 # in libc.
80 LIB += -lm
81
82 #### Tcl shell for use in running the fossil testsuite. If you do not
83 # care about testing the end result, this can be blank.
84 #
85 TCLSH = tclsh
86

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button