diff options
author | Michael Forney <mforney@mforney.org> | 2020-09-05 12:11:46 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-09-05 12:11:46 -0700 |
commit | 1e7f6cdb542e6abbc72e2ba2d6aaf9b03d48fc00 (patch) | |
tree | b9f56189e1af6b5e4fb0a343ea97b0d2e002034e /configure | |
parent | 489c853ed75f71ef435b695b2a51229d28292c7c (diff) |
Add -nopie to linker flags on OpenBSD
The OpenBSD linker defaults to PIE, but QBE does not yet support
generating position-independent code.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ case "$target" in test "$host" = "$target" && : ${DEFAULT_PREPROCESSOR:=/usr/libexec/cpp} startfiles='"-l", ":crt0.o", "-l", ":crtbegin.o"' endfiles='"-l", "c", "-l", ":crtend.o"' - linkflags='"-L", "/usr/lib",' + linkflags='"-L", "/usr/lib", "-nopie",' defines=' /* required to prevent libc headers from declaring functions with conflicting linkage */ "-D", "_ANSI_LIBRARY", |