[Lunar-commits] <moonbase> llvm: simplify configuration

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Wed May 23 11:52:13 CEST 2012


commit 5a9dcf3d0a312d018b88482a5c4a322ace6cfd59
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date:   Wed May 23 11:52:13 2012 +0200

    llvm: simplify configuration
---
 compilers/llvm/BUILD     |    6 ------
 compilers/llvm/CONFIGURE |    9 ++-------
 2 files changed, 2 insertions(+), 13 deletions(-)

diff --git a/compilers/llvm/BUILD b/compilers/llvm/BUILD
index 3b26c12..71b7c54 100644
--- a/compilers/llvm/BUILD
+++ b/compilers/llvm/BUILD
@@ -4,12 +4,6 @@
 
   OPTS+=" --enable-optimized --enable-shared --enable-pic --enable-targets=host-only" &&
 
-  if [ "$USE_ASSERTS" == "y" ] ; then
-     OPTS+=" --enable-assertions"
-   else
-     OPTS+=" --disable-assertions"
-  fi &&
-
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/compilers/llvm/CONFIGURE b/compilers/llvm/CONFIGURE
index eae9aae..b81be7a 100644
--- a/compilers/llvm/CONFIGURE
+++ b/compilers/llvm/CONFIGURE
@@ -1,8 +1,3 @@
-# only lin -r gcc will trigger the language selector!
+mquery USE_CLANG "Do you want to build the clang (C compiler) front-end ?" n
 
-USE_CLANG="n"
-if [ -n "$RECONFIGURE" ] ; then
-  mquery USE_CLANG "Do you want to build the clang (C compiler) front-end ? " n
-fi
-
-mquery USE_ASSERTS "Do you want to use assertions? (Not supported by OpenGTL)" n
+mquery USE_ASSERTS "Do you want to use assertions? (Not supported by OpenGTL)" n "--enable-assertions" "--disable-assertions"


More information about the Lunar-commits mailing list