mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
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:
parent
c794a1fe70
commit
8aec1d937b
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue