mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-03 11:50:55 +00:00
Specify westmere arch on pybddisasm build.
This commit is contained in:
parent
f8a3011a49
commit
e0c6f9e374
@ -89,6 +89,7 @@ setup(
|
|||||||
'Operating System :: POSIX :: Linux'
|
'Operating System :: POSIX :: Linux'
|
||||||
],
|
],
|
||||||
ext_modules = [Extension("_pybddisasm",
|
ext_modules = [Extension("_pybddisasm",
|
||||||
|
extra_compile_args = ["-march=westmere"],
|
||||||
sources = ["_pybddisasm/_pybddisasm.c", "_pybddisasm/pybddisasm.c"],
|
sources = ["_pybddisasm/_pybddisasm.c", "_pybddisasm/pybddisasm.c"],
|
||||||
define_macros = [('AMD64', None), ('LIBRARY_INSTRUX_SIZE', LIBRARY_INSTRUX_SIZE)],
|
define_macros = [('AMD64', None), ('LIBRARY_INSTRUX_SIZE', LIBRARY_INSTRUX_SIZE)],
|
||||||
include_dirs = ['../inc'],
|
include_dirs = ['../inc'],
|
||||||
|
Loading…
Reference in New Issue
Block a user