Author: mlytwyn
Date: Thu Dec 10 18:47:30 2015
New Revision: 39228
URL: http://svn.gna.org/viewcvs/gnustep?rev=39228&view=rev
Log:
Checks on --no-sse not quite right
Modified:
tools/make/trunk/common.make
Modified: tools/make/trunk/common.make
URL:
http://svn.gna.org/viewcvs/gnustep/tools/make/trunk/common.make?rev=39228&r1=39227&r2=39228&view=diff
==============================================================================
--- tools/make/trunk/common.make (original)
+++ tools/make/trunk/common.make Thu Dec 10 18:47:30 2015
@@ -600,12 +600,12 @@
ifeq ($(CC),clang)
ifeq ($(wildcard /etc/redhat-release),"")
RH_RELEASE := $(shell cat /etc/redhat-release)
-ifeq ($(findstring $(RH_RELEASE)),CentOS)
-ifeq ($(findstring $(RH_RELEASE)),6.5)
+ifeq ($(findstring CentOS,$(RH_RELEASE)),CentOS)
+ifeq ($(findstring 6.5,$(RH_RELEASE)),6.5)
LINUXVER := $(subst ., ,$(subst -, ,$(shell uname -r)))
LINUXREV := $(word 4,$(LINUXVER))
ifeq ($(shell (test $(LINUXREV) -le 431 && echo 0)), 0)
-INTERNAL_OBJCFLAGS = -mno-sse
+INTERNAL_OBJCFLAGS += -mno-sse
endif
endif
endif
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs