Fix think-o: emit all 8 bytes of the EOF marker. Also reflow a line in a
[llvm/stm8.git] / tools / gold / Makefile
blob66a0271fa25769b519758a830c9b8b8b32bd6754
1 #===- tools/gold/Makefile ----------------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
10 LEVEL = ../..
11 LIBRARYNAME = LLVMgold
13 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/gold.exports
15 # Include this here so we can get the configuration of the targets
16 # that have been configured for construction. We have to do this
17 # early so we can set up LINK_COMPONENTS before including Makefile.rules
18 include $(LEVEL)/Makefile.config
20 LINK_LIBS_IN_SHARED=1
21 SHARED_LIBRARY = 1
22 LOADABLE_MODULE = 1
24 LINK_COMPONENTS := support
25 LIBS += -llto
27 # Because off_t is used in the public API, the largefile parts are required for
28 # ABI compatibility.
29 CXXFLAGS+=-I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lLTO
31 include $(LEVEL)/Makefile.common