From ddf0b5ce2d75e142b756531388847d2e72bd2c15 Mon Sep 17 00:00:00 2001 From: quackerd Date: Tue, 14 Mar 2023 14:30:56 +0100 Subject: [PATCH] master slave mode working --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d42bf4c..94051eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,8 +6,8 @@ find_package(PkgConfig REQUIRED) find_package(OpenSSL REQUIRED) pkg_check_modules(bsock REQUIRED bsock) -set(CXXFLAGS -Wall -Wextra -Werror -std=c++17 -Og -g) -set(CFLAGS -Wall -Wextra -Werror -std=c2x -Og -g) +set(CXXFLAGS -Wall -Wextra -Werror -std=c++17 -O3 -g) +set(CFLAGS -Wall -Wextra -Werror -std=c2x -O3 -g) add_library(common OBJECT ${CMAKE_CURRENT_SOURCE_DIR}/common/io.cc) target_link_directories(common PRIVATE ${bsock_LIBRARY_DIRS})