summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2025-06-27 11:42:54 +0200
committerToni Uhlig <matzeton@googlemail.com>2025-06-27 11:42:54 +0200
commit2b6c4f44107efef17923f9631fea289f7d6cfc35 (patch)
tree756401f5ebd434a86b39127777d433379447327f /Makefile
parenta8b87740ecb54565994488720b164b3047bd4e93 (diff)
Fixed TODOs, simplified API, give control over (session) buffer sizesmain
* fix LoggingProxyServer cout race condition Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ebb946..633f8e4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CXX = g++
GIT = git
-CXXFLAGS = -Wall -Wextra -Iboost-asio-fastbuffer
+CXXFLAGS = -Wall -Wextra
SERVER_HDRS = socks5.hpp
SERVER_SRCS = socks5.cpp main.cpp
@@ -13,6 +13,8 @@ endif
endif
ifneq ($(DEBUG),)
CXXFLAGS += -g3 #-DBOOST_ASIO_ENABLE_HANDLER_TRACKING=1
+else
+CXXFLAGS += -O3 -fomit-frame-pointer -flto
endif
ifneq ($(HANDLER_TRACKING),)
CXXFLAGS += -DBOOST_ASIO_ENABLE_HANDLER_TRACKING=1