makefile - Fixed reporting of GCC version when compiling with MinGW

This commit is contained in:
Mark Pizzolato 2012-10-25 12:16:49 -07:00
parent d6f3d328e4
commit f2fdee9a8e

View file

@ -276,6 +276,7 @@ else
GCC = gcc
GCC_Path := $(dir $(shell where gcc.exe))
GCC_VERSION = $(word 3,$(shell $(GCC) --version))
COMPILER_NAME = GCC Version: $(GCC_VERSION)
LTO_EXCLUDE_VERSIONS = 4.5.2
ifeq (pthreads,$(shell if exist ..\windows-build\pthreads\Pre-built.2\include\pthread.h echo pthreads))
PTHREADS_CCDEFS = -DUSE_READER_THREAD -DPTW32_STATIC_LIB -I../windows-build/pthreads/Pre-built.2/include