mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Don't pass -export-dynamic to the linker on Cygwin and MinGW. These platforms
accept the flag and do nothing but warn about it, cleverly bypassing our configure-based detection system. Patch by Takumi Nakamura! llvm-svn: 109385
This commit is contained in:
parent
94e820829a
commit
848b4defa1
@ -618,7 +618,7 @@ ifndef KEEP_SYMBOLS
|
||||
endif
|
||||
|
||||
# Adjust linker flags for building an executable
|
||||
ifneq ($(HOST_OS),Darwin)
|
||||
ifneq ($(HOST_OS), $(filter $(HOST_OS), Darwin Cygwin MingW))
|
||||
ifdef TOOLNAME
|
||||
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
|
||||
ifdef EXAMPLE_TOOL
|
||||
|
Loading…
Reference in New Issue
Block a user