summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-03-19 22:26:12 -0700
committerBen Smith <binji@chromium.org>2016-03-19 23:26:06 -0700
commit0114d0b5dff98da0ad2551ea74c4cb5bceadc1cc (patch)
treee85112795c2bc979ba3ecb2e354a5aebb3024ef0 /Makefile
parentd0ac26ab37db5ac6c11902b21b16ab33dafd5975 (diff)
downloadwabt-0114d0b5dff98da0ad2551ea74c4cb5bceadc1cc.tar.gz
wabt-0114d0b5dff98da0ad2551ea74c4cb5bceadc1cc.tar.bz2
wabt-0114d0b5dff98da0ad2551ea74c4cb5bceadc1cc.zip
rewrite hexfloat_test w/ gtest
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