Skip to content

Commit 0203b09

Browse files
committed
build: Drop no longer needed -fvisibility=hidden compiler option
1 parent 731608f commit 0203b09

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

CMakeLists.txt

-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,6 @@ else()
252252
try_append_c_flags(-Wundef)
253253
endif()
254254

255-
set(CMAKE_C_VISIBILITY_PRESET hidden)
256-
257255
# Ask CTest to create a "check" target (e.g., make check) as alias for the "test" target.
258256
# CTEST_TEST_TARGET_ALIAS is not documented but supposed to be user-facing.
259257
# See: https://gitlab.kitware.com/cmake/cmake/-/commit/816c9d1aa1f2b42d40c81a991b68c96eb12b6d2

configure.ac

-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ AC_DEFUN([SECP_TRY_APPEND_DEFAULT_CFLAGS], [
111111
SECP_TRY_APPEND_CFLAGS([-Wcast-align=strict], $1) # GCC >= 8.0
112112
SECP_TRY_APPEND_CFLAGS([-Wconditional-uninitialized], $1) # Clang >= 3.0 only
113113
SECP_TRY_APPEND_CFLAGS([-Wreserved-identifier], $1) # Clang >= 13.0 only
114-
SECP_TRY_APPEND_CFLAGS([-fvisibility=hidden], $1) # GCC >= 4.0
115114
116115
CFLAGS="$SECP_TRY_APPEND_DEFAULT_CFLAGS_saved_CFLAGS"
117116
fi

0 commit comments

Comments
 (0)