summaryrefslogtreecommitdiff
path: root/gcc/config/i386/t-openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/t-openbsd')
-rw-r--r--gcc/config/i386/t-openbsd6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/t-openbsd b/gcc/config/i386/t-openbsd
new file mode 100644
index 000000000..183046340
--- /dev/null
+++ b/gcc/config/i386/t-openbsd
@@ -0,0 +1,6 @@
+# gdb gets confused if pic code is linked with non pic
+# We cope by building variants of libgcc.
+MULTILIB_OPTIONS = fpic
+MULTILIB_MATCHES=fpic=fPIC
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib