From db85a9a01546b9ff081bddd2f7532bd7480aa303 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 31 Aug 2017 18:21:22 +0300 Subject: [PATCH] Go: fixed splitting recipe line with newer gmake. Use double quotes to quote a string with the backslash/newline pair. Newer gmake versions, such as GNU Make 4.1, do not remove the backslash from a string quoted with single quotes, which results in an extraneous backslash passed to the shell and, eventually, to the Go compiler. --- auto/modules/go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/modules/go b/auto/modules/go index f8a3ea6c..2076a0bd 100644 --- a/auto/modules/go +++ b/auto/modules/go @@ -99,8 +99,8 @@ ${NXT_GO}: $NXT_BUILD_DIR/nxt_go_gen.h $NXT_BUILD_DIR/nxt_go_gen.h: src/go/unit/*.go GOPATH=`pwd` \\ - CGO_CPPFLAGS='-DNXT_CONFIGURE \\ - -I`pwd`/src' \\ + CGO_CPPFLAGS="-DNXT_CONFIGURE \\ + -I`pwd`/src" \\ ${NXT_GO} build -o $NXT_BUILD_DIR/nxt_go_gen.a \\ --buildmode=c-archive go/unit