lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | ifeq ($(subdir),elf) |
2 | CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ | ||||
3 | -mno-sse -mno-mmx) | ||||
4 | |||||
5 | tests-special += $(objpfx)tst-ld-sse-use.out | ||||
6 | $(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so | ||||
7 | @echo "Checking ld.so for SSE register use. This will take a few seconds..." | ||||
8 | $(BASH) $< $(objpfx) '$(NM)' '$(OBJDUMP)' '$(READELF)' > $@; \ | ||||
9 | $(evaluate-test) | ||||
10 | endif |