mirror of https://github.com/status-im/consul.git
Merge pull request #385 from sarlalian/master
In FreeBSD bash is located at /usr/local/bin/bash instead of /bin/bash
This commit is contained in:
commit
24ac68b4f6
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# This script builds the application from source.
|
||||
set -e
|
||||
|
@ -28,7 +28,6 @@ fi
|
|||
|
||||
if [ "$(go env GOOS)" = "freebsd" ]; then
|
||||
export CC="clang"
|
||||
export CGO_LDFLAGS="$CGO_LDFLAGS -extld clang" # Workaround for https://code.google.com/p/go/issues/detail?id=6845
|
||||
fi
|
||||
|
||||
# On OSX, we need to use an older target to ensure binaries are
|
||||
|
|
Loading…
Reference in New Issue