From 6c244a806a996c5f1ba90bc898fa6db3bf0ec066 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Thu, 5 Nov 2009 11:57:53 -0800 Subject: Getting better structure for getting distribution. --- Makefile.mingw32 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.mingw32') diff --git a/Makefile.mingw32 b/Makefile.mingw32 index fafaf18..a605302 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -13,7 +13,8 @@ LD = g++ strip = strip --strip-unneeded AR = ar rcs else -ifneq ($(shell cat /etc/issue | fgrep "CentOS"), ) +DISTRIB=$(shell cat /etc/issue | cut -f 1 -d\ | head -1) +ifeq ($(DISTRIB), CentOS) CC = i686-pc-mingw32-gcc CXX = i686-pc-mingw32-g++ LD = i686-pc-mingw32-g++ -- cgit v1.2.3