[Orc][Kaleidoscope] Build Kaleidoscope/Orc tutorials with warnings.
authorLang Hames <lhames@gmail.com>
Sun, 8 Feb 2015 19:15:33 +0000 (19:15 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 8 Feb 2015 19:15:33 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228531 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Kaleidoscope/Orc/initial/Makefile
examples/Kaleidoscope/Orc/lazy_codegen/Makefile
examples/Kaleidoscope/Orc/lazy_irgen/Makefile

index 40dae3d9bd6292dd6abc1c885ef4a05e3a98888e..df0fcb35066575e1e3e460f8f4f350244cb220b4 100644 (file)
@@ -2,7 +2,7 @@
 all: toy
 
 toy: toy.cpp
-       clang++ -std=c++11 toy.cpp -g -O0 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --system-libs --libs core orcjit native` -o toy
+       clang++ -Wall -std=c++11 toy.cpp -g -O0 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --system-libs --libs core orcjit native` -o toy
 
 .PHONY: clean
 clean:
index 40dae3d9bd6292dd6abc1c885ef4a05e3a98888e..df0fcb35066575e1e3e460f8f4f350244cb220b4 100644 (file)
@@ -2,7 +2,7 @@
 all: toy
 
 toy: toy.cpp
-       clang++ -std=c++11 toy.cpp -g -O0 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --system-libs --libs core orcjit native` -o toy
+       clang++ -Wall -std=c++11 toy.cpp -g -O0 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --system-libs --libs core orcjit native` -o toy
 
 .PHONY: clean
 clean:
index 40dae3d9bd6292dd6abc1c885ef4a05e3a98888e..df0fcb35066575e1e3e460f8f4f350244cb220b4 100644 (file)
@@ -2,7 +2,7 @@
 all: toy
 
 toy: toy.cpp
-       clang++ -std=c++11 toy.cpp -g -O0 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --system-libs --libs core orcjit native` -o toy
+       clang++ -Wall -std=c++11 toy.cpp -g -O0 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --system-libs --libs core orcjit native` -o toy
 
 .PHONY: clean
 clean: