summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-08-31 18:21:22 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-08-31 18:21:22 +0300
commitdb85a9a01546b9ff081bddd2f7532bd7480aa303 (patch)
treefa9097b9a43c02b926ae669ed540a17f41efcf25
parentf27ed60a094483100b698e19c56ccfef26679041 (diff)
downloadunit-db85a9a01546b9ff081bddd2f7532bd7480aa303.tar.gz
unit-db85a9a01546b9ff081bddd2f7532bd7480aa303.tar.bz2
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.
Diffstat (limited to '')
-rw-r--r--auto/modules/go4
1 files 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