summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.mingw323
1 files changed, 2 insertions, 1 deletions
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++