We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b3bf62e + bfd4301 commit 7bf7dfdCopy full SHA for 7bf7dfd
libraries/libfc/libraries/boringssl/CMakeLists.txt
@@ -3,6 +3,13 @@ target_compile_options(fipsmodule PRIVATE -Wno-error)
3
target_compile_options(crypto PRIVATE -Wno-error)
4
target_compile_options(decrepit PRIVATE -Wno-error)
5
6
+# boringssl's forced-on debug symbols interfere with reproducibility due to path differences; disable on Release builds
7
+if(CMAKE_BUILD_TYPE STREQUAL "Release")
8
+ target_compile_options(fipsmodule PRIVATE -g0)
9
+ target_compile_options(crypto PRIVATE -g0)
10
+ target_compile_options(decrepit PRIVATE -g0)
11
+endif()
12
+
13
#paranoia for when a dependent library depends on openssl (such as libcurl)
14
set_target_properties(fipsmodule PROPERTIES C_VISIBILITY_PRESET hidden)
15
set_target_properties(crypto PROPERTIES C_VISIBILITY_PRESET hidden)
0 commit comments