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.
Commit
ba71b359577721ff7e9bb8a7e5c26b5fa851a58189f8f5eb780e8538baeff758
Parent
15e1dcd058b5b3e…
1 file changed
+4
+4
| --- Makefile.classic | ||
| +++ Makefile.classic | ||
| @@ -72,10 +72,14 @@ | ||
| 72 | 72 | # If using zlib: |
| 73 | 73 | LIB += $(ZLIB_LIB.$(FOSSIL_ENABLE_MINIZ)) $(LDFLAGS) |
| 74 | 74 | |
| 75 | 75 | # If using HTTPS: |
| 76 | 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 | |
| 77 | 81 | |
| 78 | 82 | #### Tcl shell for use in running the fossil testsuite. If you do not |
| 79 | 83 | # care about testing the end result, this can be blank. |
| 80 | 84 | # |
| 81 | 85 | TCLSH = tclsh |
| 82 | 86 |
| --- 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 |