summaryrefslogtreecommitdiff
path: root/libc/sysdeps/x86/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/x86/Makefile')
-rw-r--r--libc/sysdeps/x86/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/x86/Makefile b/libc/sysdeps/x86/Makefile
new file mode 100644
index 000000000..f25d1e241
--- /dev/null
+++ b/libc/sysdeps/x86/Makefile
@@ -0,0 +1,4 @@
+ifeq ($(subdir),elf)
+CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
+ -mno-sse -mno-mmx)
+endif