mirror of https://github.com/libAthena/athena.git
even more tweaks
This commit is contained in:
parent
b195c194f7
commit
7fccd416f3
|
@ -1,7 +1,7 @@
|
|||
# PKGBUILD for atdna
|
||||
_pkgname=atdna
|
||||
pkgname=$_pkgname-git
|
||||
pkgver=1.1.0.19.g96ed8a2
|
||||
pkgver=1.1.0.20.gb195c19
|
||||
pkgrel=1
|
||||
pkgdesc="Companion DNA utility for libAthena"
|
||||
arch=('i686' 'x86_64')
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
|
||||
#ifndef SYSTEM_PREFIX
|
||||
#define SYSTEM_PREFIX /usr/local
|
||||
#ifndef INSTALL_PREFIX
|
||||
#define INSTALL_PREFIX /usr/local
|
||||
#endif
|
||||
#define XSTR(s) STR(s)
|
||||
#define STR(s) #s
|
||||
|
@ -441,7 +441,7 @@ int main(int argc, const char** argv)
|
|||
std::vector<std::string> args = {"clang-tool",
|
||||
"-fsyntax-only",
|
||||
"-std=c++11"};
|
||||
args.push_back("-I" + std::string(XSTR(SYSTEM_PREFIX)) + "/lib/clang/" + CLANG_VERSION_STRING + "/include");
|
||||
args.push_back("-I" + std::string(XSTR(INSTALL_PREFIX)) + "/lib/clang/" + CLANG_VERSION_STRING + "/include");
|
||||
llvm::outs() << args.back() << "\n";
|
||||
for (int a=1 ; a<argc ; ++a)
|
||||
args.push_back(argv[a]);
|
||||
|
|
Loading…
Reference in New Issue