Fossil SCM

Modified Makefile to support clang in private branch.

michael 2010-06-28 14:35 ttmrichter
Commit 9c06026377defdf2db2fe52c1fddfb62381db5f3
1 file changed +4 -2
+4 -2
--- Makefile
+++ Makefile
@@ -14,11 +14,12 @@
1414
#### C Compiler and options for use in building executables that
1515
# will run on the platform that is doing the build. This is used
1616
# to compile code-generator programs as part of the build process.
1717
# See TCC below for the C compiler for building the finished binary.
1818
#
19
-BCC = gcc -g -O2
19
+#BCC = gcc -g -O2
20
+BCC = clang -g -O2
2021
2122
#### The suffix to add to executable files. ".exe" for windows.
2223
# Nothing for unix.
2324
#
2425
E =
@@ -29,11 +30,12 @@
2930
# the finished binary for fossil. The BCC compiler above is used
3031
# for building intermediate code-generator tools.
3132
#
3233
#TCC = gcc -O6
3334
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
34
-TCC = gcc -g -Os -Wall
35
+#TCC = gcc -g -Os -Wall
36
+TCC = clang -g -Os -Wall
3537
3638
# To add support for HTTPS
3739
TCC += -DFOSSIL_ENABLE_SSL
3840
3941
#### Extra arguments for linking the finished binary. Fossil needs
4042
--- Makefile
+++ Makefile
@@ -14,11 +14,12 @@
14 #### C Compiler and options for use in building executables that
15 # will run on the platform that is doing the build. This is used
16 # to compile code-generator programs as part of the build process.
17 # See TCC below for the C compiler for building the finished binary.
18 #
19 BCC = gcc -g -O2
 
20
21 #### The suffix to add to executable files. ".exe" for windows.
22 # Nothing for unix.
23 #
24 E =
@@ -29,11 +30,12 @@
29 # the finished binary for fossil. The BCC compiler above is used
30 # for building intermediate code-generator tools.
31 #
32 #TCC = gcc -O6
33 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
34 TCC = gcc -g -Os -Wall
 
35
36 # To add support for HTTPS
37 TCC += -DFOSSIL_ENABLE_SSL
38
39 #### Extra arguments for linking the finished binary. Fossil needs
40
--- Makefile
+++ Makefile
@@ -14,11 +14,12 @@
14 #### C Compiler and options for use in building executables that
15 # will run on the platform that is doing the build. This is used
16 # to compile code-generator programs as part of the build process.
17 # See TCC below for the C compiler for building the finished binary.
18 #
19 #BCC = gcc -g -O2
20 BCC = clang -g -O2
21
22 #### The suffix to add to executable files. ".exe" for windows.
23 # Nothing for unix.
24 #
25 E =
@@ -29,11 +30,12 @@
30 # the finished binary for fossil. The BCC compiler above is used
31 # for building intermediate code-generator tools.
32 #
33 #TCC = gcc -O6
34 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
35 #TCC = gcc -g -Os -Wall
36 TCC = clang -g -Os -Wall
37
38 # To add support for HTTPS
39 TCC += -DFOSSIL_ENABLE_SSL
40
41 #### Extra arguments for linking the finished binary. Fossil needs
42

Keyboard Shortcuts

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