Fossil

Check-in [f08a09ca]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Checkin [15e1dcd058b5b3e1] had no useful effect: we need to set this flag at the "make" level, not as a C preprocessor flag. Not backing it out because the change is harmless as well as useless.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f08a09ca0dcd7ce27002caa25b4db7261613862f6a350268bbf582f4c99bf48e
User & Date: wyoung 2018-10-03 22:23:44.445
Context
2018-10-04
06:20
Commented out the -lm option added to Makefile.classic recently: libm doesn't exist on all platforms. ... (check-in: 729360ec user: wyoung tags: trunk)
2018-10-03
22:23
Checkin [15e1dcd058b5b3e1] had no useful effect: we need to set this flag at the "make" level, not as a C preprocessor flag. Not backing it out because the change is harmless as well as useless. ... (check-in: f08a09ca user: wyoung tags: trunk)
21:52
Added -lm to LIB in Makefile.classic to allow src/piechart.c to build on systems where the trig functions are in libm. ... (check-in: ba71b359 user: wyoung tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to Makefile.classic.
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62







63
64
65
66
67
68
69

# To add support for HTTPS
TCC += -DFOSSIL_ENABLE_SSL

# To enable legacy mv/rm support
TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1

# We don't attempt to use libedit or libreadline in this simplified
# build system (contrast auto.def and Makefile.in) so use the included
# copy of linenoise.  MinGW can't make use of this, but linenoise is
# ifdef'd out elsewhere for that platform.
TCC += -DUSE_LINENOISE=1

#### We sometimes add the -static option here so that we can build a
#    static executable that will run in a chroot jail.
#LIB = -static
TCC += -DFOSSIL_DYNAMIC_BUILD=1

TCCFLAGS = $(CFLAGS)








#### Extra arguments for linking the finished binary.  Fossil needs
#    to link against the Z-Lib compression library unless the miniz
#    library in the source tree is being used.  There are no other
#    required dependencies.
ZLIB_LIB.0 = -lz
ZLIB_LIB.1 =







<
<
<
<
<
<






>
>
>
>
>
>
>







44
45
46
47
48
49
50






51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

# To add support for HTTPS
TCC += -DFOSSIL_ENABLE_SSL

# To enable legacy mv/rm support
TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1







#### We sometimes add the -static option here so that we can build a
#    static executable that will run in a chroot jail.
#LIB = -static
TCC += -DFOSSIL_DYNAMIC_BUILD=1

TCCFLAGS = $(CFLAGS)

# We don't attempt to use libedit or libreadline in this simplified
# build system (contrast auto.def and Makefile.in) so use the included
# copy of linenoise.  MinGW can't make use of this, but linenoise is
# ifdef'd out elsewhere for that platform.  Note that this is a make
# flag handled in src/main.mk, not a C preprocessor flag.
USE_LINENOISE := 1

#### Extra arguments for linking the finished binary.  Fossil needs
#    to link against the Z-Lib compression library unless the miniz
#    library in the source tree is being used.  There are no other
#    required dependencies.
ZLIB_LIB.0 = -lz
ZLIB_LIB.1 =