1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 04:22:24 +00:00

makefile: Fix MinGW build to allow C++ compiles

This commit is contained in:
Mark Pizzolato
2016-05-16 16:17:22 -07:00
parent 0e1f84357c
commit 64716dad74
3 changed files with 10 additions and 10 deletions

View File

@@ -763,7 +763,11 @@ else
endif
GCC_VERSION = $(word 3,$(shell $(GCC) --version))
COMPILER_NAME = GCC Version: $(GCC_VERSION)
CC_STD = -std=gnu99
ifeq (,$(findstring ++,$(GCC)))
CC_STD = -std=gnu99
else
CPP_BUILD = 1
endif
LTO_EXCLUDE_VERSIONS = 4.5.2
ifeq (,$(PATH_SEPARATOR))
PATH_SEPARATOR := ;