mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
Revert "Rules for win32 ld shouldn't fire when cross-compiling."
This reverts commit 012b374e5b46fe93a8fdf605f5929fa8239e0960. llvm-svn: 112963
This commit is contained in:
parent
3fa5ea53fa
commit
564f4ea0c7
@ -972,14 +972,7 @@ LLVMLibsOptions += -Wl,-exported_symbols_list,$(NativeExportsFile)
|
||||
endif
|
||||
|
||||
# GNU ld Win32 accepts .DEF files that contain "DATA" entries.
|
||||
# This doesn't work when cross-compiling, though.
|
||||
ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
||||
ifneq ($(LLVM_CROSS_COMPILING),1)
|
||||
HAVE_WIN32_GNU_LD=1
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_WIN32_GNU_LD),1)
|
||||
NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE:.exports=.def))
|
||||
|
||||
# LLVMLibsOptions is invalidated at processing tools/llvm-shlib.
|
||||
|
Loading…
Reference in New Issue
Block a user