summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2016-03-06 14:45:12 -0800
committerBen Smith <binji@chromium.org>2016-03-12 20:44:08 -0800
commit7caec37eb628d8aee95be319e03159cb556de908 (patch)
tree6126b50ae9c8bd2c2a0a87a1f37428630b67b45a /Makefile
parent4f94d77153bae3e25b945a0e96bd171516742b7a (diff)
downloadwabt-7caec37eb628d8aee95be319e03159cb556de908.tar.gz
wabt-7caec37eb628d8aee95be319e03159cb556de908.tar.bz2
wabt-7caec37eb628d8aee95be319e03159cb556de908.zip
add 32-bit build for gcc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4c5b6ae7..8cff7fa0 100644
--- a/Makefile
+++ b/Makefile
@@ -19,22 +19,27 @@
DEFAULT_COMPILER = CLANG
DEFAULT_BUILD_TYPE = DEBUG
-COMPILERS := GCC CLANG
+COMPILERS := GCC GCC_I686 CLANG
BUILD_TYPES := DEBUG RELEASE
SANITIZERS := NO ASAN MSAN LSAN
GCC_DEBUG_DIR := out/gcc/Debug
GCC_RELEASE_DIR := out/gcc/Release
+GCC_I686_DEBUG_DIR := out/gcc-i686/Debug
+GCC_I686_RELEASE_DIR := out/gcc-i686/Release
CLANG_DEBUG_DIR := out/clang/Debug
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_DEBUG_PREFIX := gcc-debug
GCC_RELEASE_PREFIX := gcc-release
+GCC_I686_DEBUG_PREFIX := gcc-i686-debug
+GCC_I686_RELEASE_PREFIX := gcc-i686-release
CLANG_DEBUG_PREFIX := clang-debug
CLANG_RELEASE_PREFIX := clang-release