diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-11-23 22:02:20 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-11-30 10:19:44 -0500 |
commit | b9beae67a1dce1cc957a2a780c26ce0ca3afc70c (patch) | |
tree | cc12de90a3f8970feb89a8d51f7cde3056c19a0d /Makefile | |
parent | cf6cea495ac4425fceda6269c57c72134335308e (diff) |
Makefile: Only do -m32 during distcheck on x86_64
Multilib isn't well-supported outside of x86.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -24,6 +24,10 @@ ifndef OS OS := $(shell uname) endif +ifndef ARCH +ARCH := $(shell uname -m) +endif + CC ?= gcc INSTALL ?= install MKDIR ?= mkdir -p @@ -168,8 +172,10 @@ distcheck: +$(MAKE) -B asan ubsan check $(DISTCHECK_FLAGS) ifneq ($(OS),Darwin) +$(MAKE) -B msan check CC=clang $(DISTCHECK_FLAGS) +ifeq ($(ARCH),x86_64) +$(MAKE) -B check CFLAGS="-m32" $(DISTCHECK_FLAGS) endif +endif +$(MAKE) -B release check $(DISTCHECK_FLAGS) +$(MAKE) -B check $(DISTCHECK_FLAGS) |