Improve: enable -O3 for libbridge.so

This commit is contained in:
kr328 2021-05-25 19:23:19 +08:00
parent f967bd299a
commit 5594485bec

View File

@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.0)
project(clash-bridge C)
set(CMAKE_POSITION_INDEPENDENT_CODE on)
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3")
set(GO_OUTPUT_BASE ${GO_OUTPUT}/${FLAVOR_NAME})