Skip to content

Commit

Permalink
Drop -fno-strict-aliasing flag from capstone next build (#4149)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy committed Jan 24, 2024
1 parent 488a04f commit 54842b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion subprojects/capstone-next.wrap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[wrap-git]
url = https://github.com/capstone-engine/capstone.git
revision = 31ea133e64cb6576524e61b734681260104d0a6f
revision = cb2b87974d6bdc347578eddea4558802bb6a0c1b
directory = capstone-next
patch_directory = capstone-next
depth = 1
5 changes: 0 additions & 5 deletions subprojects/packagefiles/capstone-next/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ if meson.get_compiler('c').has_argument('-Wmaybe-uninitialized')
libcapstone_c_args += '-Wno-maybe-uninitialized'
endif

# As of a128f31d20befedbf06ca9560f1bb23b5ebb3c4e, the Capstone
# AArch64_AM_isSVEMaskOfIdenticalElements family of functions violates C strict
# aliasing rules
libcapstone_c_args += '-fno-strict-aliasing'

libcapstone = library('capstone', cs_files,
c_args: libcapstone_c_args,
include_directories: capstone_includes,
Expand Down

0 comments on commit 54842b8

Please sign in to comment.