f3fd79d6aa
The goal here is to make it easier to add new platform definitions, especially when the additions are programmatic (ie: in build scripts).
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
# x86_64-w64-mingw32 configuration
|
|
CROSS_PREFIX_x86_64-w64-mingw32=x86_64-w64-mingw32-
|
|
CC_x86_64-w64-mingw32=gcc
|
|
CXX_x86_64-w64-mingw32=g++
|
|
CPP_x86_64-w64-mingw32=gcc -E
|
|
AR_x86_64-w64-mingw32=ar
|
|
CFG_LIB_NAME_x86_64-w64-mingw32=$(1).dll
|
|
CFG_STATIC_LIB_NAME_x86_64-w64-mingw32=$(1).lib
|
|
CFG_LIB_GLOB_x86_64-w64-mingw32=$(1)-*.dll
|
|
CFG_LIB_DSYM_GLOB_x86_64-w64-mingw32=$(1)-*.dylib.dSYM
|
|
CFG_CFLAGS_x86_64-w64-mingw32 := -m64 -D_WIN32_WINNT=0x0600 $(CFLAGS)
|
|
CFG_GCCISH_CFLAGS_x86_64-w64-mingw32 := -Wall -Werror -g -m64 -D_WIN32_WINNT=0x0600 $(CFLAGS)
|
|
CFG_GCCISH_CXXFLAGS_x86_64-w64-mingw32 := -fno-rtti $(CXXFLAGS)
|
|
CFG_GCCISH_LINK_FLAGS_x86_64-w64-mingw32 := -shared -g -m64
|
|
CFG_GCCISH_DEF_FLAG_x86_64-w64-mingw32 :=
|
|
CFG_GCCISH_PRE_LIB_FLAGS_x86_64-w64-mingw32 :=
|
|
CFG_GCCISH_POST_LIB_FLAGS_x86_64-w64-mingw32 :=
|
|
CFG_DEF_SUFFIX_x86_64-w64-mingw32 := .mingw32.def
|
|
CFG_LLC_FLAGS_x86_64-w64-mingw32 :=
|
|
CFG_INSTALL_NAME_x86_64-w64-mingw32 =
|
|
CFG_EXE_SUFFIX_x86_64-w64-mingw32 := .exe
|
|
CFG_WINDOWSY_x86_64-w64-mingw32 := 1
|
|
CFG_UNIXY_x86_64-w64-mingw32 :=
|
|
CFG_PATH_MUNGE_x86_64-w64-mingw32 :=
|
|
CFG_LDPATH_x86_64-w64-mingw32 :=$(CFG_LDPATH_x86_64-w64-mingw32):$(PATH)
|
|
CFG_RUN_x86_64-w64-mingw32=PATH="$(CFG_LDPATH_x86_64-w64-mingw32):$(1)" $(2)
|
|
CFG_RUN_TARG_x86_64-w64-mingw32=$(call CFG_RUN_x86_64-w64-mingw32,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
|
|
RUSTC_CROSS_FLAGS_x86_64-w64-mingw32 :=
|