The existing logic adds -rpath to CGO_LDFLAGS, which is not a valid linker option on AIX. This patch substitutes it with -blibpath on AIX.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, with minor nit
llvm/tools/llvm-go/llvm-go.go | ||
---|---|---|
106 | nit: an if-elseif would be cleaner than the nested if here: |
nit: an if-elseif would be cleaner than the nested if here:
if runtime.GOOS == "aix" {
...
}
else if runtime.GOOS != "darwin" {
...
}