Skip to content

Commit

Permalink
Merge pull request #79 from braydonk/export-dynamic
Browse files Browse the repository at this point in the history
gen/nvml: add `--export-dynamic` linker flag
  • Loading branch information
klueska authored Oct 4, 2023
2 parents 550ae98 + b8d34ba commit 351a54f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gen/nvml/nvml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ GENERATOR:
limitations under the License.
Includes: ["nvml.h"]
FlagGroups:
- {name: "LDFLAGS", flags: ["-Wl,--unresolved-symbols=ignore-in-object-files"]}
- {name: "LDFLAGS", flags: ["-Wl,--export-dynamic","-Wl,--unresolved-symbols=ignore-in-object-files"]}
- {name: "CFLAGS", flags: ["-DNVML_NO_UNVERSIONED_FUNC_DEFS=1"]}
PARSER:
SourcesPaths: ["nvml.h"]
Expand Down
2 changes: 1 addition & 1 deletion pkg/nvml/const.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/nvml/nvml.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 351a54f

Please sign in to comment.