Replies: 1 comment
-
|
A bit late to join here, but instead of specifying Not sure whether this would resolve your issue, but it did seem to work for me in another package. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Yesterday I needed to bazelize my build of icu4c and the way
configure_makeemitsARFLAGSto the environment, and the way ICU consumesARFLAGS, are not compatible. Specifically, right here:https://github.com/unicode-org/icu/blob/289d9703a03494ef0d9dfec122169b22bd9fc84f/icu4c/source/icudefs.mk.in#L120
With typical toolchain setup, this results in an invocation
ar rcsD r name.a name.owhich is not valid. I don't think I'm the first person to face this problem, as I found this hack for building rdkafka withconfigure_makeat https://github.com/envoyproxy/envoy/blob/main/bazel/foreign_cc/BUILD#L65. I worked around my ICU issue with a similar hack: makingARFLAGS=be the first argument toconfigureso it overrides theARFLAGSthat bazel is setting in the environment.The whole issue seems a bit gross, though. Is the argument format of
arjust impossible to deal with? Is this best fixed in ICU or in bazel?Beta Was this translation helpful? Give feedback.
All reactions