summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 94196016..eb3329e0 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,10 @@ CLANG_RELEASE_DIR := out/clang/Release
DEBUG_FLAG := -DCMAKE_BUILD_TYPE=Debug
RELEASE_FLAG := -DCMAKE_BUILD_TYPE=Release
-GCC_FLAG := -DCMAKE_C_COMPILER=gcc
-GCC_I686_FLAG := -DCMAKE_C_COMPILER=gcc -DCMAKE_C_FLAGS=-m32
-CLANG_FLAG := -DCMAKE_C_COMPILER=clang
+GCC_FLAG := -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
+GCC_I686_FLAG := -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ \
+ -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32
+CLANG_FLAG := -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
GCC_DEBUG_PREFIX := gcc-debug
GCC_DEBUG_NO_FLEX_BISON_PREFIX := gcc-debug-no-flex-bison