blob: 76d4bd8ea2436ecc2c115c3f2bd010bc3a5c150b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff a/cmake/cef_variables.cmake b/cmake/cef_variables.cmake
--- a/cmake/cef_variables.cmake
+++ b/cmake/cef_variables.cmake
@@ -113,8 +113,6 @@
-fdata-sections # Enable linker optimizations to improve locality of reference for data sections
-ffunction-sections # Enable linker optimizations to improve locality of reference for function sections
-fno-ident # Ignore the #ident directive
- -U_FORTIFY_SOURCE # Undefine _FORTIFY_SOURCE in case it was previously defined
- -D_FORTIFY_SOURCE=2 # Add memory and string function protection (security feature, related to stack-protector)
)
list(APPEND CEF_LINKER_FLAGS
-fPIC # Generate position-independent code for shared libraries
|