summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-12-02 14:34:10 +0100
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-12-02 14:34:10 +0100
commitff50dff70d03a994077d7d1ab960f32dec372ab2 (patch)
tree137ea9f313ffadf4bfa661c328c4f33c088fb46e /Makefile
parentf625d97b9b6f77b7e3ab4107174e54c52bae808c (diff)
Use more aggressive optimization
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a2231e4..53d8bcc 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ OBJ = net.o hiredis.o sds.o async.o
BINS = hiredis-example hiredis-test
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
-OPTIMIZATION?=-O2
+OPTIMIZATION?=-O3
ifeq ($(uname_S),SunOS)
CFLAGS?= -std=c99 -pedantic $(OPTIMIZATION) -fPIC -Wall -W -D__EXTENSIONS__ -D_XPG6
CCLINK?= -ldl -lnsl -lsocket -lm -lpthread