summaryrefslogtreecommitdiff
path: root/BUILD/compile-amd64-gcov
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD/compile-amd64-gcov')
-rwxr-xr-xBUILD/compile-amd64-gcov3
1 files changed, 2 insertions, 1 deletions
diff --git a/BUILD/compile-amd64-gcov b/BUILD/compile-amd64-gcov
index c9bd3f36dd2..83c6b64d678 100755
--- a/BUILD/compile-amd64-gcov
+++ b/BUILD/compile-amd64-gcov
@@ -16,12 +16,13 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
path=`dirname $0`
-. "$path/SETUP.sh"
# Need to disable ccache, or we loose the gcov-needed compiler output files.
CCACHE_DISABLE=1
export CCACHE_DISABLE
+. "$path/SETUP.sh"
+
export LDFLAGS="$gcov_link_flags"
extra_flags="$amd64_cflags $debug_cflags $max_cflags $gcov_compile_flags"