Skip to content

Commit

Permalink
fix linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
belisarius222 committed Aug 2, 2024
1 parent d8f4ac0 commit 34263e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/common_settings.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ string_flag = rule(
def vere_library(copts = [], linkopts = [], **kwargs):
native.cc_library(
copts = copts + select({
"//:debug": ["-O0", "-g3", "-DC3DBG", "-fdebug-compilation-dir=."],
"//:debug": ["-O0", "-g3", "-DC3DBG"],
"//conditions:default": ["-O3"]
}) + select({
"//:lto": ['-flto'],
Expand All @@ -39,7 +39,7 @@ def vere_library(copts = [], linkopts = [], **kwargs):
def vere_binary(copts = [], linkopts = [], **kwargs):
native.cc_binary(
copts = copts + select({
"//:debug": ["-O0", "-g3", "-DC3DBG", "-fdebug-compilation-dir=."],
"//:debug": ["-O0", "-g3", "-DC3DBG"],
"//conditions:default": ["-O3"]
}) + select({
"//:lto": ['-flto'],
Expand Down
1 change: 1 addition & 0 deletions bazel/third_party/expat/expat.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ configure_make(
lib_source = ":all",
out_static_libs = ["libexpat.a"],
visibility = ["//visibility:public"],
configure_options = ["--without-docbook"],
)

0 comments on commit 34263e0

Please sign in to comment.