We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 066b763 commit 9f32cb1Copy full SHA for 9f32cb1
1 file changed
config/templates/craft.yml.twig
@@ -11,7 +11,7 @@
11
{%- set specs_cflags = '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -%}
12
{%- set specs_ldflags = '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ~ (os == '10' ? ' -Wl,-z,pack-relative-relocs' : '') -%}
13
{%- set cflags =
14
- '-fPIC -O3 -pipe -fno-plt -fno-semantic-interposition -fstack-clash-protection -fno-omit-frame-pointer -ffunction-sections -fdata-sections' ~ arch_flags
+ '-fPIC -O3 -pipe -fno-plt -fno-semantic-interposition -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffunction-sections -fdata-sections' ~ arch_flags
15
-%}
16
{%- set cflags = (using_gcc ? '' : '-flto=thin ') ~ cflags -%}
17
{%- set is_rhel = os in ['7', '8', '9', '10'] and type == 'rpm' -%}
0 commit comments