From 6fbd15f8b22643a76c6b067335c5db6c406d209a Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 8 Jan 2018 15:56:53 -0800 Subject: [PATCH] cleanup --- make-mac.mk | 2 +- node/Identity.hpp | 1 - node/Switch.hpp | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/make-mac.mk b/make-mac.mk index 811597952..60aa465ac 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 cd24757e7..74514436a 100644 --- a/node/Identity.hpp +++ b/node/Identity.hpp @@ -31,7 +31,6 @@ #include #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 4fc5453dc..082087357 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"