32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
|
# i686-w64-mingw32 configuration
|
||
|
CROSS_PREFIX_i686-w64-mingw32=i686-w64-mingw32-
|
||
|
CC_i686-w64-mingw32=gcc
|
||
|
CXX_i686-w64-mingw32=g++
|
||
|
CPP_i686-w64-mingw32=gcc -E
|
||
|
AR_i686-w64-mingw32=ar
|
||
|
CFG_LIB_NAME_i686-w64-mingw32=$(1).dll
|
||
|
CFG_STATIC_LIB_NAME_i686-w64-mingw32=$(1).lib
|
||
|
CFG_LIB_GLOB_i686-w64-mingw32=$(1)-*.dll
|
||
|
CFG_LIB_DSYM_GLOB_i686-w64-mingw32=$(1)-*.dylib.dSYM
|
||
|
CFG_CFLAGS_i686-w64-mingw32 := -march=i686 -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
|
||
|
CFG_GCCISH_CFLAGS_i686-w64-mingw32 := -Wall -Werror -g -m32 -D_WIN32_WINNT=0x0600 $(CFLAGS)
|
||
|
CFG_GCCISH_CXXFLAGS_i686-w64-mingw32 := -fno-rtti $(CXXFLAGS)
|
||
|
CFG_GCCISH_LINK_FLAGS_i686-w64-mingw32 := -shared -g -m32
|
||
|
CFG_GCCISH_DEF_FLAG_i686-w64-mingw32 :=
|
||
|
CFG_GCCISH_PRE_LIB_FLAGS_i686-w64-mingw32 :=
|
||
|
CFG_GCCISH_POST_LIB_FLAGS_i686-w64-mingw32 :=
|
||
|
CFG_DEF_SUFFIX_i686-w64-mingw32 := .mingw32.def
|
||
|
CFG_LLC_FLAGS_i686-w64-mingw32 :=
|
||
|
CFG_INSTALL_NAME_i686-w64-mingw32 =
|
||
|
CFG_EXE_SUFFIX_i686-w64-mingw32 := .exe
|
||
|
CFG_WINDOWSY_i686-w64-mingw32 := 1
|
||
|
CFG_UNIXY_i686-w64-mingw32 :=
|
||
|
CFG_PATH_MUNGE_i686-w64-mingw32 :=
|
||
|
CFG_LDPATH_i686-w64-mingw32 :=$(CFG_LDPATH_i686-w64-mingw32):$(PATH)
|
||
|
CFG_RUN_i686-w64-mingw32=PATH="$(CFG_LDPATH_i686-w64-mingw32):$(1)" $(2)
|
||
|
CFG_RUN_TARG_i686-w64-mingw32=$(call CFG_RUN_i686-w64-mingw32,$(HLIB$(1)_H_$(CFG_BUILD)),$(2))
|
||
|
# Stop rustc from OOMing when building itself (I think)
|
||
|
RUSTC_FLAGS_i686-w64-mingw32=-C link-args="-Wl,--large-address-aware"
|
||
|
RUSTC_CROSS_FLAGS_i686-w64-mingw32 :=
|
||
|
|