aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-11-02 18:43:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-11-02 18:43:27 -0700
commitf62c8abcfbf0d2e7f0a6c6c1dde53158e6fc4e59 (patch)
treeab3bc4ef52bcf81e57b10d0f72e614af61d3fa58 /sysdeps/x86/Makefile
parenta68d0680f89b5f3639b30ec7955671d97e101e87 (diff)
downloadglibc-f62c8abcfbf0d2e7f0a6c6c1dde53158e6fc4e59.tar
glibc-f62c8abcfbf0d2e7f0a6c6c1dde53158e6fc4e59.tar.gz
glibc-f62c8abcfbf0d2e7f0a6c6c1dde53158e6fc4e59.tar.bz2
glibc-f62c8abcfbf0d2e7f0a6c6c1dde53158e6fc4e59.zip
Compile x86 rtld with -mno-sse -mno-mmx
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r--sysdeps/x86/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
new file mode 100644
index 0000000000..f25d1e2415
--- /dev/null
+++ b/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