Skip to content

Commit

Permalink
Remove -Wno-error, include PKG_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
izissise committed Oct 26, 2023
1 parent 0d81d14 commit 3d15272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_defs/cgo.build_defs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def cgo_library(name:str, srcs:list=[], resources:list=None, go_srcs:list=[], c_
srcs = [cgo_rule + '|c'] + c_srcs,
hdrs = [cgo_rule + '|h'] + hdrs,
compiler_flags = compiler_flags + [
'-Wno-error',
'-I', '"$PKG_DIR"',
'-Wno-unused-parameter', # Generated code doesn't compile clean
],
pkg_config_libs = pkg_config,
Expand Down

0 comments on commit 3d15272

Please sign in to comment.