mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
commit
5f0af024ce
12
BUILD.gn
12
BUILD.gn
@ -68,7 +68,17 @@ config("hiperf_inner_config") {
|
||||
defines += [ "HIPERF_DEBUG_TIME" ]
|
||||
}
|
||||
|
||||
cflags += [ "-std=c++17" ]
|
||||
cflags += [
|
||||
"-std=c++17",
|
||||
"-fvisibility=hidden",
|
||||
"-fdata-sections",
|
||||
"-ffunction-sections",
|
||||
"-Os",
|
||||
]
|
||||
cflags_cc = [
|
||||
"-fvisibility-inlines-hidden",
|
||||
"-Os",
|
||||
]
|
||||
defines += [ "is_mingw=${is_mingw}" ]
|
||||
defines += [ "is_linux=${is_linux}" ]
|
||||
defines += [ "is_ohos=${is_ohos}" ]
|
||||
|
Loading…
Reference in New Issue
Block a user