mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 14:14:15 +00:00
Merge pull request #1009 from justin-he/static_pie
scripts: Disable pie for qemu when static building
This commit is contained in:
commit
2d9e63c26b
@ -432,7 +432,7 @@ generate_qemu_options() {
|
||||
fi
|
||||
|
||||
# aarch64 need to explictly set --enable-pie
|
||||
if [ "${arch}" = "aarch64" ]; then
|
||||
if [ -z "${static}" ] && [ "${arch}" = "aarch64" ]; then
|
||||
qemu_options+=(arch:"--enable-pie")
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user