--- ./Makefile.orig	2011-01-01 13:56:07.000000000 +0100
+++ ./Makefile	2011-01-02 15:09:12.374775867 +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,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
