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
854 B

Index: Makefile
--- Makefile.orig 2010-05-21 18:41:53.000000000 +0200
+++ Makefile 2010-05-22 09:52:42.000000000 +0200
@@ -16,7 +16,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 -g -O2
+BCC = $(CC)
#### The suffix to add to executable files. ".exe" for windows.
# Nothing for unix.
@@ -31,7 +31,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
@@ -42,7 +43,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 you're on OpenSolaris:
# LIB += lsocket
# Solaris 10 needs: