aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/openbsd.h')
-rw-r--r--gcc/config/openbsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h
index 7eeb8fe..00f645d 100644
--- a/gcc/config/openbsd.h
+++ b/gcc/config/openbsd.h
@@ -106,7 +106,7 @@ Boston, MA 02111-1307, USA. */
still uses a special flavor of gas that needs to be told when generating
pic code. */
#undef ASM_SPEC
-#define ASM_SPEC "%{fpic:-k} %{fPIC:-k -K}"
+#define ASM_SPEC "%{fpic|fpie:-k} %{fPIC|fPIE:-k -K}"
#endif
/* Since we use gas, stdin -> - is a good idea. */