inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit e122a986a4261bf6ef0bc38af356e6cb2ea92a8c
parent 5e1cb9ed76594f49fa153e1865d34715a0ec950b
Author: Peter Powell <petpow@saberuk.com>
Date:   Sun,  5 May 2019 20:47:12 +0100

Fix relying on PWD being set in the makefile.

This may not be set in some circumstances.

Diffstat:
Mmake/template/main.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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++