summaryrefslogtreecommitdiff
path: root/gcc/config/netbsd-aout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/netbsd-aout.h')
-rw-r--r--gcc/config/netbsd-aout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/netbsd-aout.h b/gcc/config/netbsd-aout.h
index f7eb1bf1449..f77fc2e2d9b 100644
--- a/gcc/config/netbsd-aout.h
+++ b/gcc/config/netbsd-aout.h
@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
with the options for generating PIC code. */
#undef ASM_SPEC
-#define ASM_SPEC "%{fpic:-k} %{fPIC:-k -K}"
+#define ASM_SPEC "%{fpic|fpie:-k} %{fPIC|fPIE:-k -K}"
#define AS_NEEDS_DASH_FOR_PIPED_INPUT