diff options
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index ef5e8c1ab..e39a24f87 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -32,7 +32,7 @@ CXX = @CXX@ COMPILER = @COMPILER_NAME@ SYSTEM = @SYSTEM_NAME@ -BUILDPATH ?= $(PWD)/build +BUILDPATH ?= $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/build SOCKETENGINE = @SOCKETENGINE@ CORECXXFLAGS = -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -pipe -Iinclude -Wall -Wextra -Wfatal-errors -Wno-unused-parameter -Wshadow LDLIBS = -lstdc++ |