Skip to content

Commit

Permalink
libnyquist: try -Wno-error=deprecated-register
Browse files Browse the repository at this point in the history
  • Loading branch information
mbekkomo committed Jan 18, 2025
1 parent dad1a25 commit 3b83fa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ index 5a7d764..c461a75 100644
_disable_warning(4018)
endif()

+target_compile_options(libnyquist PRIVATE -Wno-register)
+target_compile_options(libnyquist PRIVATE -Wno-error=deprecated-register)
+
target_include_directories(libnyquist
PUBLIC
Expand Down
4 changes: 2 additions & 2 deletions packages/l/libnyquist/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package("libnyquist")
add_urls("https://github.com/ddiakopoulos/libnyquist.git")
add_versions("2023.02.12", "767efd97cdd7a281d193296586e708490eb6e54f")

add_patches("2023.02.12", path.join(os.scriptdir(), "patches", "-Wno-register.patch"),
"c2963c0a1bb8b9fed57bc629022b2965ad00c8b4e800d490f659036203d20d5f")
add_patches("2023.02.12", path.join(os.scriptdir(), "patches", "error-deprecated-register"),
"26c42b9bdb1f173737b2348a3bf03c474dc2f31b05ca4bc2499587de1f7f1bce")

add_deps("cmake")

Expand Down

0 comments on commit 3b83fa3

Please sign in to comment.