mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
feacf82180
Mimic r116632 in passing LLVM_VERSION_INFO from the Makefile build system to the build. This improves the -version output of tools that use llvm::cl under the configure+make system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211091 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
699 B
Makefile
24 lines
699 B
Makefile
##===- lib/Support/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 = LLVMSupport
|
|
BUILD_ARCHIVE = 1
|
|
|
|
EXTRA_DIST = Unix Win32 README.txt
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
|
|
CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
|
|
|
|
ifdef LLVM_VERSION_INFO
|
|
CompileCommonOpts += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"'
|
|
endif
|