Build both with -msse and -Werror causes
cc1: all warnings being treated as errors
dl-runtime.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
Change-Id: I4f62d652d12dd5b611e2ea51b03601abd2234385
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
ifeq ($(subdir),elf)
CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
- -mno-sse -mno-mmx)
+ -mno-sse -mno-mmx -Wno-error)
tests-special += $(objpfx)tst-ld-sse-use.out
$(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so