Mute error when parsing redhat-version file.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@39236 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2015-12-12 04:35:26 +00:00
parent c794a1fe70
commit 8aec1d937b
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-12-11 23:34-EST Gregory John Casamento <greg.casamento@gmail.com>
* common.make: Mute error when trying to parse redhat-version
file.
2015-11-26 Ivan Vucica <ivan@vucica.net>
* ChangeLog:

View file

@ -599,7 +599,7 @@ INTERNAL_OBJCFLAGS = -fno-strict-aliasing
# code however stack is not aligned causing fault crashes...
ifeq ($(CC),clang)
ifneq ($(wildcard /etc/redhat-release),"")
RH_RELEASE := $(shell cat /etc/redhat-release)
RH_RELEASE := $(shell cat 2>/dev/null /etc/redhat-release)
ifeq ($(findstring CentOS,$(RH_RELEASE)),CentOS)
ifeq ($(findstring 6.5,$(RH_RELEASE)),6.5)
LINUXVER := $(subst ., ,$(subst -, ,$(shell uname -r)))