llvm.org GIT mirror llvm / 1c689f7
Add ENABLE_CXX11 and ENABLE_WERROR to Makefile.llvm.rules for sample project. They were previously added to Makefile.llvm.config.in but the consumption was missing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168685 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 8 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
247247 ifeq ($(ENABLE_LIBCPP),1)
248248 CXX.Flags += -stdlib=libc++
249249 LD.Flags += -stdlib=libc++
250 endif
251
252 ifeq ($(ENABLE_CXX11),1)
253 CXX.Flags += -std=c++11
254 endif
255
256 ifeq ($(ENABLE_WERROR),1)
257 CXX.Flags += -Werror
258 C.Flags += -Werror
250259 endif
251260
252261 ifeq ($(ENABLE_PROFILING),1)