summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/netbsd-elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/netbsd-elf.h')
-rw-r--r--gcc/config/m68k/netbsd-elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/netbsd-elf.h b/gcc/config/m68k/netbsd-elf.h
index 3922d255b44..a180667bf3d 100644
--- a/gcc/config/m68k/netbsd-elf.h
+++ b/gcc/config/m68k/netbsd-elf.h
@@ -56,7 +56,8 @@ along with GCC; see the file COPYING3. If not see
to pass PIC code generation options. */
#undef ASM_SPEC
-#define ASM_SPEC "%(asm_cpu_spec) %{fpic|fpie:-k} %{fPIC|fPIE:-k -K}"
+#define ASM_SPEC \
+ "%(asm_cpu_spec) %{" FPIE1_OR_FPIC1_SPEC ":-k} %{" FPIE2_OR_FPIC2_SPEC ":-k -K}"
/* Provide a LINK_SPEC appropriate for a NetBSD/m68k ELF target. */