diff --git a/scripts/build.sh b/scripts/build.sh index c8c3d31ebd..fa2388b0d7 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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