summaryrefslogtreecommitdiff
path: root/Makefile.linux
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.linux')
-rw-r--r--Makefile.linux11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile.linux b/Makefile.linux
index 353b8721..84ad5bec 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -4,19 +4,18 @@ CXX=g++
INCLUDES=
ARCH=$(shell uname -m)
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
+LIBS=
# Uncomment for a release optimized build
-#CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
-#STRIP=strip --strip-all
+CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
+STRIP=strip --strip-all
# Uncomment for a debug build
-CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE $(DEFS)
-STRIP=echo
+#CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE $(DEFS)
+#STRIP=echo
CXXFLAGS=$(CFLAGS) -fno-rtti
-LIBS=-lm
-
include objects.mk
all: one cli