summaryrefslogtreecommitdiff
blob: af9bddf41fdfe1b4988c7c48b12e385da26248fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile
+++ Makefile
@@ -34,10 +34,10 @@
 VERSION := $(shell sh mk-version)
 RELEASE_VERSION := $(shell cat VERSION)
 
-CC=gcc
-CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
-CPPFLAGS = -DVERSION=\"$(VERSION)\"
-LDFLAGS = -g $(shell libgcrypt-config --libs)
+CC?=gcc
+CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
+CPPFLAGS += -DVERSION=\"$(VERSION)\"
+LDFLAGS += $(shell libgcrypt-config --libs)
 CFLAGS +=  $(shell libgcrypt-config --cflags)
 
 ifeq ($(shell uname -s), SunOS)