You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
868 B
32 lines
868 B
Index: Makefile |
|
--- Makefile.orig 2011-01-01 13:56:07.000000000 +0100 |
|
+++ Makefile 2011-01-02 14:24:01.000000000 +0100 |
|
@@ -20,7 +20,7 @@ |
|
# to compile code-generator programs as part of the build process. |
|
# See TCC below for the C compiler for building the finished binary. |
|
# |
|
-BCC = gcc |
|
+BCC = $(CC) |
|
|
|
#### The suffix to add to final executable file. When cross-compiling |
|
# to windows, make this ".exe". Otherwise leave it blank. |
|
@@ -35,7 +35,8 @@ |
|
# |
|
#TCC = gcc -O6 |
|
#TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage |
|
-TCC = gcc -g -Os -Wall |
|
+#TCC = gcc -g -Os -Wall |
|
+TCC = $(CC) |
|
|
|
# To add support for HTTPS |
|
TCC += -DFOSSIL_ENABLE_SSL |
|
@@ -46,7 +47,8 @@ |
|
# so that we can build a static executable that will run in a |
|
# chroot jail. |
|
# |
|
-LIB = -lz $(LDFLAGS) |
|
+LIBS = -lz |
|
+LIB = $(LDFLAGS) $(LIBS) |
|
|
|
# If using HTTPS: |
|
LIB += -lcrypto -lssl
|
|
|