chore: enable -pie for linux builds (#14962)

Closes #14961
This commit is contained in:
Samuel Attard 2018-10-05 00:10:48 +10:00 committed by John Kleinschmidt
parent f161835fc3
commit 3805c5f538

View file

@ -728,6 +728,8 @@ if (is_mac) {
]
}
if (is_linux) {
ldflags = [ "-pie" ]
if (!is_component_build && is_component_ffmpeg) {
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ]
}