summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2009-11-05 11:57:53 -0800
committerNicolas Noble <pixel@nobis-crew.org>2009-11-05 11:57:53 -0800
commit6c244a806a996c5f1ba90bc898fa6db3bf0ec066 (patch)
treead3b06b5411cbdb332b9f844a8fa315916e79060 /Makefile.mingw32
parent4d62855adf4b32db130fd551bbe79b0c64e91cb0 (diff)
Getting better structure for getting distribution.
Diffstat (limited to 'Makefile.mingw32')
-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++