From 4ddc42d97a296a0c6b53da183b3bbcb79d3017cb Mon Sep 17 00:00:00 2001 From: Cristiano Giuffrida Date: Wed, 18 Jun 2014 12:46:27 +0200 Subject: [PATCH] llvm: Use common.overrides* files the llvm-apps way. --- minix/llvm/configure.llvm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minix/llvm/configure.llvm b/minix/llvm/configure.llvm index 5dc67809e..e4602ae8e 100755 --- a/minix/llvm/configure.llvm +++ b/minix/llvm/configure.llvm @@ -68,8 +68,8 @@ ROOT_1=`echo ${ROOT} | sed "s/\\\//\\\\\\\\\//g"` sed -i "s/ROOT=.*$/ROOT=\"${ROOT_1}\"/g" ${MINIX_LLVM_DIR}/common.inc # Configure llvm-apps -cp ${ROOT}/conf/common.minix.overrides.inc ${ROOT}/common.minix.overrides.inc -sed -i "s/MINIX_ROOT=.*$/MINIX_ROOT=\"${MINIX_ROOT}\"/g" ${ROOT}/common.minix.overrides.inc +cp ${ROOT}/conf/common.overrides.llvm-minix.inc ${ROOT}/common.overrides.llvm.inc +sed -i "s/MINIX_ROOT=.*$/MINIX_ROOT=\"${MINIX_ROOT}\"/g" ${ROOT}/common.overrides.llvm.inc if [ ! -d ${ROOT}/.tmp ]; then mkdir ${ROOT}/.tmp 2>/dev/null || true @@ -139,4 +139,4 @@ fi # Reconfigure llvm-apps MINIX_TOOLS_DIR=$(readlink -f ${MINIX_ROOT}/obj.386/tooldir.*) -sed -i "s/MINIX_TOOLS_DIR=.*$/MINIX_TOOLS_DIR=\"${MINIX_TOOLS_DIR}\"/g" ${ROOT}/common.minix.overrides.inc +sed -i "s/MINIX_TOOLS_DIR=.*$/MINIX_TOOLS_DIR=\"${MINIX_TOOLS_DIR}\"/g" ${ROOT}/common.overrides.llvm.inc -- 2.44.0