changeset 1513:acaa4872ca75

2009-05-08 Robert Schuster <robertschuster@fsfe.org> * configure.ac: Use --cxxflags instead of --cflags for llvm-config.
author Robert Schuster <robertschuster@fsfe.org>
date Fri, 08 May 2009 14:21:44 +0200
parents 934d7b595b32
children bce6f516052d 4829edfaa376
files ChangeLog configure.ac
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 08 11:24:32 2009 +0100
+++ b/ChangeLog	Fri May 08 14:21:44 2009 +0200
@@ -1,3 +1,7 @@
+2009-05-08  Robert Schuster  <robertschuster@fsfe.org>
+
+	* configure.ac: Use --cxxflags instead of --cflags for llvm-config.
+
 2009-05-08  Gary Benson  <gbenson@redhat.com>
 
 	* Makefile.am: Removed patches and logic for building Zero and
--- a/configure.ac	Fri May 08 11:24:32 2009 +0100
+++ b/configure.ac	Fri May 08 14:21:44 2009 +0200
@@ -564,7 +564,7 @@
 if test "x${SHARK_BUILD_TRUE}" = x || test "x${ADD_SHARK_BUILD_TRUE}" = x; then
   FIND_TOOL([LLVM_CONFIG], [llvm-config])
   llvm_components="engine nativecodegen"
-  LLVM_CFLAGS=`$LLVM_CONFIG --cflags $llvm_components | \
+  LLVM_CFLAGS=`$LLVM_CONFIG --cxxflags $llvm_components | \
     sed -e 's/-O.//g' | sed -e 's/-fomit-frame-pointer//g' | \
     sed -e 's/-D_DEBUG//g'`
   LLVM_CFLAGS="$LLVM_CFLAGS -DSHARK_LLVM_VERSION=`$LLVM_CONFIG --version | sed 's/\.//;s/svn.*//'`"