mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-07 12:07:17 +00:00
dcd158af27
with the rest of the parallel directories. Build lto when possible on all platforms. Make gold to explicitly depend on libLTO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65518 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
949 B
Makefile
31 lines
949 B
Makefile
#===- tools/gold/Makefile ----------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL = ../..
|
|
LIBRARYNAME = LLVMgold
|
|
|
|
# Include this here so we can get the configuration of the targets
|
|
# that have been configured for construction. We have to do this
|
|
# early so we can set up LINK_COMPONENTS before including Makefile.rules
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
LINK_LIBS_IN_SHARED=1
|
|
SHARED_LIBRARY = 1
|
|
BUILD_ARCHIVE = 0
|
|
DONT_BUILD_RELINKED = 1
|
|
|
|
LINK_COMPONENTS :=
|
|
LIBS += -llto
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
# 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
|