Static PIE should have no linker, otherwise it isn't really static.

This commit is contained in:
joerg 2018-07-12 21:39:24 +00:00
parent e897e0bb41
commit 44317eea7c

View File

@ -89,7 +89,7 @@ along with GCC; see the file COPYING3. If not see
%{rdynamic:-export-dynamic} \
%(netbsd_link_ld_elf_so)} \
%{static:-static \
%{pie: %(netbsd_link_ld_elf_so)}}} \
%{pie: --no-dynamic-linker}}} \
%{!shared:%{!nostdlib:%{!nodefaultlibs:\
%{%:sanitize(address): -lasan } \
%{%:sanitize(undefined): -lubsan}}}}"