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