allow different mingw versions
This commit is contained in:
parent
e75c80f589
commit
0bfe93e242
|
|
@ -16,11 +16,12 @@ CC = @CC@
|
|||
# Spice header include path
|
||||
INCLUDES = -I$(TOPDIR)$(top_srcdir)/src/include -I$(TOPDIR)$(top_builddir)
|
||||
|
||||
ISMINGW = $(shell uname | grep -c "MINGW32")
|
||||
# CFLAGS to use here
|
||||
ifeq "$(strip $(uname))" "MINGW32_NT-5.0"
|
||||
ifeq ($(ISMINGW), 1)
|
||||
CFLAGS = @CFLAGS@ -DCM_WINDOWS
|
||||
else
|
||||
CFLAGS = @CFLAGS@ -fPIC -DCM_LINUX
|
||||
CFLAGS = @CFLAGS@ -fPIC -DCM_LINUX
|
||||
endif
|
||||
|
||||
# Path to the cmpp utility
|
||||
|
|
|
|||
Loading…
Reference in New Issue