summaryrefslogtreecommitdiff
path: root/make-mac.mk
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-31 08:36:09 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-31 08:36:09 -0700
commit2a4a50b1daaec74d7a4d08869ead31ff1f966fa1 (patch)
tree8ddccedd8bd4ee309fffdc409ef89476111f6b0d /make-mac.mk
parent2ec88e800877cfbc7f007d21f10429bc1b493006 (diff)
downloadinfinitytier-2a4a50b1daaec74d7a4d08869ead31ff1f966fa1.tar.gz
infinitytier-2a4a50b1daaec74d7a4d08869ead31ff1f966fa1.zip
Add some also-ZeroTier-written ext/ code for use in new clustering, delete some old code, and change Mac to use -Os which is just as fast as -Ofast and may be faster due to cache effects.
Diffstat (limited to 'make-mac.mk')
-rw-r--r--make-mac.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-mac.mk b/make-mac.mk
index de66f49c..5622a41b 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?=-Ofast -fstack-protector-strong
+ CFLAGS?=-Os -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