mirror of
https://github.com/simh/simh.git
synced 2026-04-20 01:33:02 +00:00
makefile - Fixed reporting of GCC version when compiling with MinGW
This commit is contained in:
1
makefile
1
makefile
@@ -276,6 +276,7 @@ else
|
|||||||
GCC = gcc
|
GCC = gcc
|
||||||
GCC_Path := $(dir $(shell where gcc.exe))
|
GCC_Path := $(dir $(shell where gcc.exe))
|
||||||
GCC_VERSION = $(word 3,$(shell $(GCC) --version))
|
GCC_VERSION = $(word 3,$(shell $(GCC) --version))
|
||||||
|
COMPILER_NAME = GCC Version: $(GCC_VERSION)
|
||||||
LTO_EXCLUDE_VERSIONS = 4.5.2
|
LTO_EXCLUDE_VERSIONS = 4.5.2
|
||||||
ifeq (pthreads,$(shell if exist ..\windows-build\pthreads\Pre-built.2\include\pthread.h echo pthreads))
|
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
|
PTHREADS_CCDEFS = -DUSE_READER_THREAD -DPTW32_STATIC_LIB -I../windows-build/pthreads/Pre-built.2/include
|
||||||
|
|||||||
Reference in New Issue
Block a user