Makefile: do not assume gcc is available
authorKyle J. McKay <[email protected]>
Fri, 8 May 2015 02:16:54 +0000 (7 19:16 -0700)
committerKyle J. McKay <[email protected]>
Fri, 8 May 2015 02:16:54 +0000 (7 19:16 -0700)
Default CC to cc instead of gcc.

Since gcc is no longer assumed, build with '-O2' instead of '-O2 -g'
by default since non-gcc compilers may not like optimized+debug.

Makefile

index feabb1e..e398a3a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .PHONY : all clean
 
-CC ?= gcc
-CFLAGS ?= -O2 -g
+CC ?= cc
+CFLAGS ?= -O2
 COPTS ?= -Wall -Wextra
 
 all : git-export-filter