1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-01-03 11:50:55 +00:00

Specify -maes when building bdshemu

This commit is contained in:
Ionel-Cristinel ANICHITEI 2020-12-04 11:45:10 +02:00
parent e552aef1f5
commit 057d326433
3 changed files with 3 additions and 3 deletions

View File

@ -99,7 +99,7 @@ set(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)

View File

@ -67,7 +67,7 @@ endif
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 \
$(WARNINGS_ENABLE) $(WARNINGS_DISABLE) $(DEFINES) $(INCLUDES)

View File

@ -89,7 +89,7 @@ setup(
'Operating System :: POSIX :: Linux'
],
ext_modules = [Extension("_pybddisasm",
extra_compile_args = ["-march=westmere"],
extra_compile_args = ["-march=westmere", "-maes"],
sources = ["_pybddisasm/_pybddisasm.c", "_pybddisasm/pybddisasm.c"],
define_macros = [('AMD64', None), ('LIBRARY_INSTRUX_SIZE', LIBRARY_INSTRUX_SIZE)],
include_dirs = ['../inc'],