mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
b10675ef14
commit
1c689f7a40
@ -250,6 +250,15 @@ ifeq ($(ENABLE_LIBCPP),1)
|
||||
LD.Flags += -stdlib=libc++
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_CXX11),1)
|
||||
CXX.Flags += -std=c++11
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_WERROR),1)
|
||||
CXX.Flags += -Werror
|
||||
C.Flags += -Werror
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_PROFILING),1)
|
||||
BuildMode := $(BuildMode)+Profile
|
||||
CXX.Flags := $(filter-out -fomit-frame-pointer,$(CXX.Flags)) -pg -g
|
||||
|
Loading…
Reference in New Issue
Block a user