mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
6e53164e3c
For this to work, we have to encode it in the build variables and use it from llvm-config.cpp. I've tried to do this reasonably cleanly, but the code for llvm-config.cpp is pretty strange. However, with this, llvm-config stops giving the wrong answer when using LLVM_LIBDIR_SUFFIX. Note that the configure+make build just sets this to an empty string as that build system has zero support for multilib of any form. I'm not planning to add support there either, but this should leave a path for anyone that wanted to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224921 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
1.1 KiB
C++
29 lines
1.1 KiB
C++
//===-- BuildVariables.inc.in - llvm-config build variables -*- C++ -*-----===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is configured by the build system to define the variables
|
|
// llvm-config wants to report to the user, but which can only be determined at
|
|
// build time.
|
|
//
|
|
// The variant of this file not ending with .in has been autogenerated by the
|
|
// LLVM build. Do not edit!
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#define LLVM_SRC_ROOT "@LLVM_SRC_ROOT@"
|
|
#define LLVM_OBJ_ROOT "@LLVM_OBJ_ROOT@"
|
|
#define LLVM_CPPFLAGS "@LLVM_CPPFLAGS@"
|
|
#define LLVM_CFLAGS "@LLVM_CFLAGS@"
|
|
#define LLVM_LDFLAGS "@LLVM_LDFLAGS@"
|
|
#define LLVM_CXXFLAGS "@LLVM_CXXFLAGS@"
|
|
#define LLVM_BUILDMODE "@LLVM_BUILDMODE@"
|
|
#define LLVM_LIBDIR_SUFFIX "@LLVM_LIBDIR_SUFFIX@"
|
|
#define LLVM_TARGETS_BUILT "@LLVM_TARGETS_BUILT@"
|
|
#define LLVM_SYSTEM_LIBS "@LLVM_SYSTEM_LIBS@"
|