From 08393c002803b93ac53a6a1a0a5272e76b6ae5e4 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 16 Oct 2019 11:55:14 +0100 Subject: Use separate build dirs when rebuilding with a different compiler. --- make/template/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/template/main.mk') diff --git a/make/template/main.mk b/make/template/main.mk index 7e22cf254..1e6ba5cd0 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -32,7 +32,7 @@ CXX = @CXX@ COMPILER = @COMPILER_NAME@ SYSTEM = @SYSTEM_NAME@ -BUILDPATH ?= $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/build +BUILDPATH ?= $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/build/@COMPILER_NAME@-@COMPILER_VERSION@ SOCKETENGINE = @SOCKETENGINE@ CORECXXFLAGS = -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Iinclude -Wall -Wextra -Wfatal-errors -Wno-unused-parameter -Wshadow LDLIBS = -lstdc++ -- cgit v1.2.3