summaryrefslogtreecommitdiff
path: root/devel/fossil/files/patch-Makefile
blob: 33b54299c41b5b9a788a82406ba52e774f6db8b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./Makefile.orig	2010-06-11 14:08:12.000000000 +0200
+++ ./Makefile	2010-06-15 11:05:41.895320031 +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} ${CFLAGS}
 
 #### The suffix to add to executable files.  ".exe" for windows.
 #    Nothing for unix.
@@ -31,7 +31,7 @@
 #
 #TCC = gcc -O6
 #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
-TCC = gcc -g -Os -Wall
+TCC = ${CC} ${CFLAGS}
 
 # To add support for HTTPS
 TCC += -DFOSSIL_ENABLE_SSL