|
@@ -6,12 +6,12 @@ ARCH=$(shell uname -m)
|
|
|
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
|
|
|
|
|
|
# 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
|
|
|
|