diff options
| author | Michael Forney <mforney@mforney.org> | 2020-12-04 14:04:03 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-12-04 14:04:17 -0800 |
| commit | 7df1a7fabf0e5e5f82b9967b9a0100e086a71d6b (patch) | |
| tree | a66657286ce3a2d71c312a0bfdb550f75210197e /config.def.lua | |
| parent | 8ce6bc3a6af6ea847d6c6d488f75d833422d6d49 (diff) | |
Add missing -fPIE to default CFLAGS, and update .build.yml for static PIE
Diffstat (limited to 'config.def.lua')
| -rw-r--r-- | config.def.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.lua b/config.def.lua index f2305e25..3c84d061 100644 --- a/config.def.lua +++ b/config.def.lua @@ -18,7 +18,7 @@ return { -- target toolchain and flags target={ platform='x86_64-linux-musl', - cflags='-Os -pipe', + cflags='-Os -fPIE -pipe', ldflags='-s -static-pie', pie=true, }, |
