aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2016-06-11 16:17:47 +0100
committerMarco Poletti <poletti.marco@gmail.com>2016-06-11 16:17:47 +0100
commit78e1e53dd617b45e83d74a5261b5e5c06b7e7429 (patch)
tree404e626e5d1c86c9a89f221fa5bd04e62e20cb9d /BUILD
parent205f9df928ec362cc9457b80f4b999168c28bbb3 (diff)
downloadgoogle-fruit-78e1e53dd617b45e83d74a5261b5e5c06b7e7429.tar.gz
Add an explicit "-lm" linker flag when building with Bazel, this seems to be needed now for some reason (and it's currently causing the build failure with Bazel in Travis CI).
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index a3c5505..8794902 100644
--- a/BUILD
+++ b/BUILD
@@ -18,4 +18,5 @@ cc_library(
hdrs = glob(["include/fruit/*.h"]),
includes = ["include", "configuration/bazel"],
deps = [],
+ linkopts = ["-lm"],
)