bc7c62de6d
The changes scaled back in 4cc025d8 were a little too aggressive and broke a bunch of cross compilations by not defining the `LINK_$(1)` variable for all targets. This commit ensures that the variable is defined for all targets by defaulting it to the normal compiler if it's not already defined (it's only defined specially for MSVC). Closes #25723
24 lines
1.1 KiB
Makefile
24 lines
1.1 KiB
Makefile
# x86_64-apple-darwin configuration
|
|
CC_x86_64-apple-darwin=$(CC)
|
|
CXX_x86_64-apple-darwin=$(CXX)
|
|
CPP_x86_64-apple-darwin=$(CPP)
|
|
AR_x86_64-apple-darwin=$(AR)
|
|
CFG_LIB_NAME_x86_64-apple-darwin=lib$(1).dylib
|
|
CFG_STATIC_LIB_NAME_x86_64-apple-darwin=lib$(1).a
|
|
CFG_LIB_GLOB_x86_64-apple-darwin=lib$(1)-*.dylib
|
|
CFG_LIB_DSYM_GLOB_x86_64-apple-darwin=lib$(1)-*.dylib.dSYM
|
|
CFG_JEMALLOC_CFLAGS_x86_64-apple-darwin := -m64 -arch x86_64 $(CFLAGS)
|
|
CFG_GCCISH_CFLAGS_x86_64-apple-darwin := -Wall -Werror -g -fPIC -m64 -arch x86_64 $(CFLAGS)
|
|
CFG_GCCISH_CXXFLAGS_x86_64-apple-darwin := -fno-rtti $(CXXFLAGS)
|
|
CFG_GCCISH_LINK_FLAGS_x86_64-apple-darwin := -dynamiclib -pthread -framework CoreServices -m64
|
|
CFG_GCCISH_DEF_FLAG_x86_64-apple-darwin := -Wl,-exported_symbols_list,
|
|
CFG_LLC_FLAGS_x86_64-apple-darwin :=
|
|
CFG_INSTALL_NAME_x86_64-apple-darwin = -Wl,-install_name,@rpath/$(1)
|
|
CFG_EXE_SUFFIX_x86_64-apple-darwin :=
|
|
CFG_WINDOWSY_x86_64-apple-darwin :=
|
|
CFG_UNIXY_x86_64-apple-darwin := 1
|
|
CFG_LDPATH_x86_64-apple-darwin :=
|
|
CFG_RUN_x86_64-apple-darwin=$(2)
|
|
CFG_RUN_TARG_x86_64-apple-darwin=$(call CFG_RUN_x86_64-apple-darwin,,$(2))
|
|
CFG_GNU_TRIPLE_x86_64-apple-darwin := x86_64-apple-darwin
|