Add secure compilation options Singed-off-by:dongzhengkuan@huawei.com

Signed-off-by: 15549494042 <dongzhengkuan@huawei.com>
This commit is contained in:
15549494042 2024-01-16 16:21:47 +08:00
parent 57b9f3adf2
commit f5e21481ad

View File

@ -250,6 +250,8 @@ config("cups_config") {
"-Wno-unused-value",
"-Wno-implicit-function-declaration",
"-Wno-int-conversion",
"-D_FORTIFY_SOURCE=2",
"-fstack-protector-all",
]
}