diff options
author | Ming Zhao <mzhao@luminatewireless.com> | 2016-05-10 14:42:11 -0700 |
---|---|---|
committer | Ming Zhao <mzhao@luminatewireless.com> | 2016-05-10 14:42:11 -0700 |
commit | 7ae23fd1e7e0bdb8f5bec711226957f47d8f1594 (patch) | |
tree | ed80c9597800716fe6a40e84b69f0206b13c2aa2 | |
parent | 8de80b9a2d8dbcd64e2a2c183f12edd464eea2b3 (diff) | |
download | gflags-7ae23fd1e7e0bdb8f5bec711226957f47d8f1594.tar.gz gflags-7ae23fd1e7e0bdb8f5bec711226957f47d8f1594.tar.bz2 gflags-7ae23fd1e7e0bdb8f5bec711226957f47d8f1594.zip |
Add gendir to the include path so that building with bazel doesn't
complain config.h can't be found.
-rw-r--r-- | BUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,10 @@ cc_library( ], hdrs = ["gflags.h"], copts = [ + # The config.h gets generated to the package directory of + # GENDIR, and we don't want to put it into the includes + # otherwise the dependent may pull it in by accident. + "-I$(GENDIR)/" + PACKAGE_NAME, "-Wno-sign-compare", "-DHAVE_STDINT_H", "-DHAVE_SYS_TYPES_H", |