summaryrefslogtreecommitdiff
path: root/Makefile.linux
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 17:19:36 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 17:19:36 -0400
commit929ed5d8b8bf9b9e86c64615bb706d2d52f09246 (patch)
tree749d61f10565f7975b10d372916cc8a9a811d863 /Makefile.linux
parent676f391ccf5c1112d1725992dd444ac4084b570a (diff)
parent4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8 (diff)
downloadinfinitytier-929ed5d8b8bf9b9e86c64615bb706d2d52f09246.tar.gz
infinitytier-929ed5d8b8bf9b9e86c64615bb706d2d52f09246.zip
Merge branch 'adamierymenko-dev' of /Users/api/Code/local-ZeroTierOne into adamierymenko-dev
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