Skip to content

Commit

Permalink
pybind: Move clang-specific options to clang_opts (Resolves RobotLo…
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Apr 8, 2018
1 parent c992e94 commit 4d859dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/skylark/pybind.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,13 @@ def _drake_pybind_cc_binary(
srcs = srcs + ["//tools/install/libdrake:libdrake.so"],
# These copts are per pybind11 deficiencies.
copts = [
"-Wno-cpp",
] + copts,
clang_copts = [
"-Wno-#warnings",
"-Wno-cpp",
"-Wno-unknown-warning-option",
] + copts,
],
# This is how you tell Bazel to create a shared library.
linkshared = 1,
linkstatic = 1,
Expand Down

0 comments on commit 4d859dd

Please sign in to comment.