Mercurial > octave
comparison configure.ac @ 17820:3488d987eb50
build: Remove LLVM_(CPPFLAGS|CXXFLAGS) from XTRA_CXXFLAGS.
* configure.ac: Don't add LLVM_CPPFLAGS, LLVM_CXXFLAGS to XTRA_CXXFLAGS.
* libinterp/Makefile.am: Add LLVM_CPPFLAGS to *.cc -> *.df rule.
* libinterp/corefcn/module.mk: Add LLVM_CPPFLAGS to corefcn specific CPPFLAGS.
Create new corefcn specific CXXFLAGS variable and add LLVM_CXXFLAGS to it.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 31 Oct 2013 17:10:38 -0700 |
parents | af924e6572cb |
children | 82c94987abc6 |
comparison
equal
deleted
inserted
replaced
17819:af924e6572cb | 17820:3488d987eb50 |
---|---|
770 dnl very helpful. | 770 dnl very helpful. |
771 dnl | 771 dnl |
772 CPPFLAGS="-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS $LLVM_CPPFLAGS $CPPFLAGS" | 772 CPPFLAGS="-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS $LLVM_CPPFLAGS $CPPFLAGS" |
773 CXXFLAGS="$LLVM_CXXFLAGS $CXXFLAGS" | 773 CXXFLAGS="$LLVM_CXXFLAGS $CXXFLAGS" |
774 AC_LANG_PUSH(C++) | 774 AC_LANG_PUSH(C++) |
775 AC_CHECK_HEADER([llvm/Support/TargetSelect.h], [ | 775 AC_CHECK_HEADER([llvm/Support/TargetSelect.h], [warn_llvm=""]) |
776 warn_llvm= | |
777 XTRA_CXXFLAGS="$XTRA_CXXFLAGS $LLVM_CXXFLAGS $LLVM_CPPFLAGS"]) | |
778 | 776 |
779 have_function_h=no | 777 have_function_h=no |
780 AC_CHECK_HEADERS([llvm/IR/Function.h llvm/Function.h], | 778 AC_CHECK_HEADERS([llvm/IR/Function.h llvm/Function.h], |
781 [have_function_h=yes; break]) | 779 [have_function_h=yes; break]) |
782 if test $have_function_h = no; then | 780 if test $have_function_h = no; then |