mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-03 00:01:39 +00:00
Make the gold plugin build on Cygwin as well as Linux. Patch by David Meyer!
llvm-svn: 132349
This commit is contained in:
parent
e226ec461c
commit
2e4a814868
@ -22,10 +22,10 @@ SHARED_LIBRARY = 1
|
||||
LOADABLE_MODULE = 1
|
||||
|
||||
LINK_COMPONENTS := support
|
||||
LIBS += -llto
|
||||
|
||||
# Because off_t is used in the public API, the largefile parts are required for
|
||||
# ABI compatibility.
|
||||
CXXFLAGS+=-I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lLTO
|
||||
CXXFLAGS+=$(SharedLibDir)/$(SharedPrefix)LTO$(SHLIBEXT)
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
Loading…
x
Reference in New Issue
Block a user