diff --git a/nc_cxx.cmake b/nc_cxx.cmake index eb2164c..1c270f1 100644 --- a/nc_cxx.cmake +++ b/nc_cxx.cmake @@ -76,6 +76,7 @@ add_definitions("-Drestrict=${RESTRICT_KEYWORD}") append_compile_flag("-pipe") append_compile_flag("-fno-deduce-init-list") append_compile_flag("-fvisibility=hidden") +append_compile_flag("-fvisibility-inlines-hidden") append_compile_flag("-fPIC") append_compile_flag("-D__STDC_FORMAT_MACROS")