summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-08 15:56:53 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-08 15:56:53 -0800
commit6fbd15f8b22643a76c6b067335c5db6c406d209a (patch)
treedc0cec0bb9c7caca20caefe8c1f1e0637d2bdd8d
parent65c07afe055e6d33a07ea6adf87aedcf564806a2 (diff)
downloadinfinitytier-6fbd15f8b22643a76c6b067335c5db6c406d209a.tar.gz
infinitytier-6fbd15f8b22643a76c6b067335c5db6c406d209a.zip
cleanup
-rw-r--r--make-mac.mk2
-rw-r--r--node/Identity.hpp1
-rw-r--r--node/Switch.hpp1
3 files changed, 1 insertions, 3 deletions
diff --git a/make-mac.mk b/make-mac.mk
index 81159795..60aa465a 100644
--- a/make-mac.mk
+++ b/make-mac.mk
@@ -54,7 +54,7 @@ ifeq ($(ZT_DEBUG),1)
# C25519 in particular is almost UNUSABLE in heavy testing without it.
node/Salsa20.o node/SHA512.o node/C25519.o node/Poly1305.o: CFLAGS = -Wall -O2 -g $(INCLUDES) $(DEFS)
else
- CFLAGS?=-Os -fstack-protector-strong
+ CFLAGS?=-Ofast -fstack-protector-strong
CFLAGS+=$(ARCH_FLAGS) -Wall -Werror -flto -fPIE -mmacosx-version-min=10.7 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
STRIP=strip
endif
diff --git a/node/Identity.hpp b/node/Identity.hpp
index cd24757e..74514436 100644
--- a/node/Identity.hpp
+++ b/node/Identity.hpp
@@ -31,7 +31,6 @@
#include <stdlib.h>
#include "Constants.hpp"
-#include "Array.hpp"
#include "Utils.hpp"
#include "Address.hpp"
#include "C25519.hpp"
diff --git a/node/Switch.hpp b/node/Switch.hpp
index 4fc5453d..08208735 100644
--- a/node/Switch.hpp
+++ b/node/Switch.hpp
@@ -40,7 +40,6 @@
#include "Utils.hpp"
#include "InetAddress.hpp"
#include "Topology.hpp"
-#include "Array.hpp"
#include "Network.hpp"
#include "SharedPtr.hpp"
#include "IncomingPacket.hpp"