Skip to content

Commit 9a723cf

Browse files
committed
don't use v2 because of frankenphp relocation failure
1 parent 99f2470 commit 9a723cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/templates/craft.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ craft-options:
3030
extra-env:
3131
{% set arch_flags = arch == 'x86_64' ? ' -fcf-protection' : '' %}
3232
{% if arch == 'x86_64' and '.2.39' in target %} {% set arch_flags = arch_flags ~ ' -march=x86_64_v3' %} {% endif %}
33-
{% if arch == 'x86_64' and '.2.34' in target %} {% set arch_flags = arch_flags ~ ' -march=x86_64_v2' %} {% endif %}
33+
{% if arch == 'x86_64' and '.2.34' in target %} {# x86_64_v2 causes relocation failure for frankenphp :/ #} {% endif %}
3434
{% set cflags = '-g0 -fpic -O3 -Wno-date-time -fstack-protector-strong -fstack-clash-protection' ~ arch_flags %}
3535
# e.g. Use github token to avoid rate limit
3636
# GITHUB_TOKEN: your-github-token

0 commit comments

Comments
 (0)