summaryrefslogtreecommitdiff
path: root/debian/patches/14-enable-different-cc.patch
blob: 52b273b6afaa120bc03b4f902557c78f4a236b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Enable using different CC, e.g. ccache
Author: Andrew O. Shadoura <bugzilla@tut.by>

--- a/config.mk
+++ b/config.mk
@@ -24,7 +24,8 @@
 STATIC = -static
 
 # Compiler, Linker. Linker should usually *not* be ld.
-CC = cc -c
+CC ?= cc
+CC += -c
 LD = cc
 # Archiver
 AR = ar crs