This is an automated email from the ASF dual-hosted git repository.

joshfischer pushed a commit to branch joshfischer/debian-container
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git


The following commit(s) were added to refs/heads/joshfischer/debian-container 
by this push:
     new f835b67  moving exports to rule
f835b67 is described below

commit f835b677ca889498c51ebf8b82a7d6d484349847
Author: Josh Fischer <[email protected]>
AuthorDate: Thu Feb 6 07:02:15 2020 -0600

    moving exports to rule
---
 docker/compile/Dockerfile.debian9     | 2 --
 third_party/zookeeper/zookeeper.BUILD | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/docker/compile/Dockerfile.debian9 
b/docker/compile/Dockerfile.debian9
index 9ee2fac..2a3e70a 100644
--- a/docker/compile/Dockerfile.debian9
+++ b/docker/compile/Dockerfile.debian9
@@ -20,8 +20,6 @@ FROM openjdk:8-jdk-slim
 # This is passed to the heron build command via the --config flag
 ENV TARGET_PLATFORM debian
 ENV bazelVersion 0.26.0
-ENV CFLAGS -Wno-error
-ENV CXXFLAGS -Wno-error
 
 RUN apt-get update && apt-get -y install \
       automake \
diff --git a/third_party/zookeeper/zookeeper.BUILD 
b/third_party/zookeeper/zookeeper.BUILD
index b59fdb1..1700d0f 100644
--- a/third_party/zookeeper/zookeeper.BUILD
+++ b/third_party/zookeeper/zookeeper.BUILD
@@ -24,6 +24,7 @@ genrule(
     cmd = "\n".join([
         "export INSTALL_DIR=$$(pwd)/$(@D)",
         "export TMP_DIR=$$(mktemp -d -t zookeeper.XXXXX)",
+        "export CXXFLAGS=\"-Wno-error\"",
         "mkdir -p $$TMP_DIR",
         "cp -R $$(pwd)/external/org_apache_zookeeper/* $$TMP_DIR",
         "cd $$TMP_DIR/zookeeper-client/zookeeper-client-c",

Reply via email to