diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-12-12 00:19:41 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-12-12 00:19:41 -0800 |
commit | 3edbbe29f58727378303f17e7685e07b8c5afb62 (patch) | |
tree | c7dc153a4b407e1081a459eb18f0ae8577a8d94d /configure | |
parent | 46d5561e22132a23a860379b47a51eba653ec87e (diff) | |
download | txr-3edbbe29f58727378303f17e7685e07b8c5afb62.tar.gz txr-3edbbe29f58727378303f17e7685e07b8c5afb62.tar.bz2 txr-3edbbe29f58727378303f17e7685e07b8c5afb62.zip |
Turn off stack protector gcc option.
* configure (opt_flags): Add -fno-stack-protector to disable
this feature that is on by default in some toolchains/distros.
As a result, I'm seeing an over 5% VM speedup on a loop
benchmark.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ yaccname='' # test tries $(YACC) first yacc='$(cross)$(tool_prefix)$(yaccname)' yacc_given= nm='$(cross)$(tool_prefix)nm' -opt_flags=-O2 +opt_flags='-O2 -fno-stack-protector' lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE' diag_flags='-Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=strict-prototypes' debug_flags=-g |