From e1a575586d330f8e491712e645d55799941d6aee Mon Sep 17 00:00:00 2001 From: linleiyong Date: Mon, 29 Jun 2026 11:33:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLinux=E4=B8=8B=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05abcab8..5816a5df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,11 @@ option(ENABLE_GHASH "Enable standalone GHASH command and test" ON) option(ENABLE_SKF "Enable SKF module" ON) option(ENABLE_SDF "Enable SDF module" ON) -option(ENABLE_ASM_UNDERSCORE_PREFIX "Add prefix `_` to assembly symbols" ON) +if (APPLE) + option(ENABLE_ASM_UNDERSCORE_PREFIX "Add prefix `_` to assembly symbols" ON) +else() + option(ENABLE_ASM_UNDERSCORE_PREFIX "Add prefix `_` to assembly symbols" OFF) +endif() option(ENABLE_TLS "Enable TLS and TLCP protocol support" ON) option(ENABLE_QUIC "Enable QUIC support" ON)