mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Checks on --no-sse not quite right
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39228 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fcb63d3e64
commit
95c1b3e06f
1 changed files with 3 additions and 3 deletions
|
@ -600,12 +600,12 @@ INTERNAL_OBJCFLAGS = -fno-strict-aliasing
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue