summaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/i386/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/i386/Makefile')
-rw-r--r--linuxthreads/sysdeps/i386/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/i386/Makefile b/linuxthreads/sysdeps/i386/Makefile
new file mode 100644
index 0000000000..811a799ad8
--- /dev/null
+++ b/linuxthreads/sysdeps/i386/Makefile
@@ -0,0 +1,5 @@
+ifeq ($(subdir),linuxthreads)
+# On i686 we must avoid generating the trampoline functions generated
+# to get the GOT pointer.
+CFLAGS-pt-initfini.s += -march=i386 -mcpu=i386
+endif