diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-11-12 06:11:12 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-11-12 06:11:12 +0000 |
commit | 8ee3963409097ba9f7717c325ae6ebd821bc965b (patch) | |
tree | dff565d74f69caeb966d076fd6c6ff7a35bebaec /projects/sample/Makefile.llvm.config.in | |
parent | 08e9cb46feb0c8e08e3d309a0f9fd75a04ca54fb (diff) | |
download | llvm-8ee3963409097ba9f7717c325ae6ebd821bc965b.tar.gz llvm-8ee3963409097ba9f7717c325ae6ebd821bc965b.tar.bz2 llvm-8ee3963409097ba9f7717c325ae6ebd821bc965b.tar.xz |
Add --enable-werror and --enable-cxx11 to projects/sample/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/sample/Makefile.llvm.config.in')
-rw-r--r-- | projects/sample/Makefile.llvm.config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/projects/sample/Makefile.llvm.config.in b/projects/sample/Makefile.llvm.config.in index 9a85b3df63..c7df998b26 100644 --- a/projects/sample/Makefile.llvm.config.in +++ b/projects/sample/Makefile.llvm.config.in @@ -184,6 +184,12 @@ RDYNAMIC := @RDYNAMIC@ #ENABLE_LIBCPP = 0 ENABLE_LIBCPP = @ENABLE_LIBCPP@ +# When ENABLE_CXX11 is enabled, LLVM uses c++11 mode by default to build. +ENABLE_CXX11 = @ENABLE_CXX11@ + +# When ENABLE_WERROR is enabled, we'll pass -Werror on the command line +ENABLE_WERROR = @ENABLE_WERROR@ + # When ENABLE_OPTIMIZED is enabled, LLVM code is optimized and output is put # into the "Release" directories. Otherwise, LLVM code is not optimized and # output is put in the "Debug" directories. |