mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-25 14:19:51 +00:00
4327d8322f
* Massage conflicting function signatures spotted by mingw * Fix the spp visibility issue * Enable 32 and 64bit mingw builds in the CI
26 lines
465 B
Makefile
26 lines
465 B
Makefile
ifeq (${_INCLUDE_MK_GCC_},)
|
|
_INCLUDE_MK_GCC_=1
|
|
CROSS=i686-w64-mingw32-
|
|
CC=${CROSS}gcc
|
|
RANLIB=${CROSS}ranlib
|
|
ONELIB=0
|
|
OSTYPE=windows
|
|
LINK=
|
|
AR=${CROSS}ar
|
|
EXT_AR=lib
|
|
CC_AR=${AR} -r ${LIBAR}
|
|
PARTIALLD=${CROSS}ld -r --whole-archive
|
|
PICFLAGS=
|
|
CFLAGS+=${PICFLAGS} -MD -D__WINDOWS__=1
|
|
CC_LIB=${CC} -shared -o
|
|
CFLAGS_INCLUDE=-I
|
|
LDFLAGS+=-static-libgcc
|
|
LDFLAGS_LINK=-l
|
|
LDFLAGS_LINKPATH=-L
|
|
CFLAGS_OPT0=-O0
|
|
CFLAGS_OPT1=-O1
|
|
CFLAGS_OPT2=-O2
|
|
CFLAGS_OPT3=-O3
|
|
CFLAGS_DEBUG=-g
|
|
endif
|