From 2489169c7f11819b21729d44bf0f8689e2943476 Mon Sep 17 00:00:00 2001 From: Nasron Cheong Date: Fri, 17 May 2024 21:03:54 -0400 Subject: [PATCH] [ISSUE-566] Initial fix for aarch64 linux build to correct char type mismatch error --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 433ccea..005f239 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,10 @@ extra_compile_args = ['/std:c++17', '/O2'] extra_link_args = [] else: + machine = platform.uname().machine extra_compile_args = ['-O3', '-std=c++11'] + if machine == 'aarch64': + extra_compile_args += ['-fsigned-char'] extra_link_args = [] extensions = [ @@ -68,7 +71,7 @@ setup( name="anonlink", - version='0.15.3', + version='0.15.4', description='Anonymous linkage using cryptographic hashes and bloom filters', long_description=readme, long_description_content_type='text/x-rst',