second part to r81695, I missed a directory.
[llvm/avr.git] / tools / gold / Makefile
blob65e99bf41c9aa8322a49a4db7e7aa19f9bdbe21e
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 # Include this here so we can get the configuration of the targets
14 # that have been configured for construction. We have to do this
15 # early so we can set up LINK_COMPONENTS before including Makefile.rules
16 include $(LEVEL)/Makefile.config
18 LINK_LIBS_IN_SHARED=1
19 SHARED_LIBRARY = 1
20 BUILD_ARCHIVE = 0
22 LINK_COMPONENTS :=
23 LIBS += -llto
25 # Because off_t is used in the public API, the largefile parts are required for
26 # ABI compatibility.
27 CXXFLAGS+=-I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lLTO
29 include $(LEVEL)/Makefile.common