Use -fno-plt
We dont need the PLT and it frees up some registers
This commit is contained in:
parent
33249c872f
commit
4790959938
1 changed files with 1 additions and 1 deletions
2
setup.py
2
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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue