Enable visibility-inlines-hidden

This commit is contained in:
Danny Robson 2019-10-31 17:03:51 +11:00
parent 985fe7fe48
commit 4de013d8e3

View File

@ -76,6 +76,7 @@ add_definitions("-Drestrict=${RESTRICT_KEYWORD}")
append_compile_flag("-pipe") append_compile_flag("-pipe")
append_compile_flag("-fno-deduce-init-list") append_compile_flag("-fno-deduce-init-list")
append_compile_flag("-fvisibility=hidden") append_compile_flag("-fvisibility=hidden")
append_compile_flag("-fvisibility-inlines-hidden")
append_compile_flag("-fPIC") append_compile_flag("-fPIC")
append_compile_flag("-D__STDC_FORMAT_MACROS") append_compile_flag("-D__STDC_FORMAT_MACROS")