diff --git a/setup.py b/setup.py index be67cddde..5e1ba766c 100755 --- a/setup.py +++ b/setup.py @@ -468,7 +468,7 @@ def init_env( 'OVERRIDE_CFLAGS', ( f'-Wextra {float_conversion} -Wno-missing-field-initializers -Wall -Wstrict-prototypes {std}' f' {werror} {optimize} {sanitize_flag} -fwrapv {stack_protector} {missing_braces}' - f' -pipe {march} -fvisibility=hidden {fortify_source} {control_flow_protection}' + f' -pipe {march} -fvisibility=hidden {fortify_source} {control_flow_protection} -fno-plt' ) ) cflags = shlex.split(cflags_) + shlex.split(