Fix sse-enabled build 36/35336/1 accepted/tizen/common/20150403.125720 accepted/tizen/mobile/20150406.020312 accepted/tizen/tv/20150406.013743 accepted/tizen/wearable/20150404.083313 submit/tizen/20150213.091306 submit/tizen/20150331.094607
authorVyacheslav Barinov <v.barinov@samsung.com>
Thu, 12 Feb 2015 08:55:37 +0000 (11:55 +0300)
committerVyacheslav Barinov <v.barinov@samsung.com>
Thu, 12 Feb 2015 08:55:37 +0000 (11:55 +0300)
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>
sysdeps/x86/Makefile

index 19f5eca..81548bc 100644 (file)
@@ -1,6 +1,6 @@
 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