Skip to content

Commit e62db36

Browse files
committed
go 1.26
1 parent c9ee16f commit e62db36

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

config/templates/craft.yml.twig

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ extra-env:
109109
SPC_DEFAULT_C_FLAGS: "{{ cflags }}"
110110
SPC_DEFAULT_CXX_FLAGS: "{{ cflags }}"
111111
SPC_DEFAULT_LD_FLAGS: "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,-z,noexecstack {{ using_gcc and is_rhel ? specs_ldflags : '' }}"
112-
SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS: "{{ cflags }} -g -fPIE{{ using_gcc or arch == 'aarch64' ? '' : ' -flto'}}"
113-
SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS: "-Wl,--build-id=sha1 -pie -release {{ release_suffix }}{{ using_gcc or arch == 'aarch64' ? '' : ' -flto'}}"
112+
SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS: "{{ cflags }} -g -fPIE{{ using_gcc ? '' : ' -flto'}}"
113+
SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS: "-Wl,--build-id=sha1 -pie -release {{ release_suffix }}{{ using_gcc ? '' : ' -flto'}}"
114114
SPC_CMD_PREFIX_PHP_CONFIGURE: "./configure --prefix= --with-valgrind=no --disable-shared --enable-static --disable-all --disable-cgi --disable-phpdbg --disable-debug --with-pic --enable-rtld-now --enable-re2c-cgoto --disable-rpath"
115115
SPC_CMD_VAR_FRANKENPHP_XCADDY_MODULES: "--with github.com/dunglas/frankenphp/caddy --with github.com/dunglas/mercure/caddy --with github.com/dunglas/vulcain/caddy --with github.com/dunglas/caddy-cbrotli --with github.com/baldinof/caddy-supervisor"
116116
PHP_BUILD_PROVIDER: "Static PHP <https://static-php.dev> #StandWithUkraine"
@@ -119,4 +119,3 @@ extra-env:
119119
PHP_BUILD_SYSTEM: 'Red Hat Enterprise Linux {{ os }}'
120120
OPENSSLDIR: '/etc/pki/tls'
121121
{% endif -%}
122-
GOEXPERIMENT: greenteagc

0 commit comments

Comments
 (0)