mirror of
https://github.com/bitdefender/bddisasm.git
synced 2025-01-18 11:00:57 +00:00
Specify -maes when building bdshemu
This commit is contained in:
parent
e552aef1f5
commit
057d326433
@ -99,7 +99,7 @@ set(BDDISASM_COMPILE_OPTIONS
|
|||||||
)
|
)
|
||||||
|
|
||||||
target_compile_options(bddisasm PRIVATE ${BDDISASM_COMPILE_OPTIONS})
|
target_compile_options(bddisasm PRIVATE ${BDDISASM_COMPILE_OPTIONS})
|
||||||
target_compile_options(bdshemu PRIVATE ${BDDISASM_COMPILE_OPTIONS})
|
target_compile_options(bdshemu PRIVATE ${BDDISASM_COMPILE_OPTIONS} -maes)
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ endif
|
|||||||
|
|
||||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(DEP_DIR)/$*.Td
|
DEPFLAGS = -MT $@ -MMD -MP -MF $(DEP_DIR)/$*.Td
|
||||||
|
|
||||||
CFLAGS = -pipe -std=c11 -fpic -fno-strict-aliasing -march=westmere \
|
CFLAGS = -pipe -std=c11 -fpic -fno-strict-aliasing -march=westmere -maes \
|
||||||
-D_REENTRANT -fstack-protector -ffunction-sections -fdata-sections \
|
-D_REENTRANT -fstack-protector -ffunction-sections -fdata-sections \
|
||||||
$(WARNINGS_ENABLE) $(WARNINGS_DISABLE) $(DEFINES) $(INCLUDES)
|
$(WARNINGS_ENABLE) $(WARNINGS_DISABLE) $(DEFINES) $(INCLUDES)
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ setup(
|
|||||||
'Operating System :: POSIX :: Linux'
|
'Operating System :: POSIX :: Linux'
|
||||||
],
|
],
|
||||||
ext_modules = [Extension("_pybddisasm",
|
ext_modules = [Extension("_pybddisasm",
|
||||||
extra_compile_args = ["-march=westmere"],
|
extra_compile_args = ["-march=westmere", "-maes"],
|
||||||
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