From 7fccd416f396e0d878a7f9d7542ac141eabf351a Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 16 Jun 2015 15:05:43 -1000 Subject: [PATCH] even more tweaks --- atdna/PKGBUILD | 2 +- atdna/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/atdna/PKGBUILD b/atdna/PKGBUILD index d809203..dd133b9 100644 --- a/atdna/PKGBUILD +++ b/atdna/PKGBUILD @@ -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') diff --git a/atdna/main.cpp b/atdna/main.cpp index 6ca23cc..07ab351 100644 --- a/atdna/main.cpp +++ b/atdna/main.cpp @@ -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 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