Skip to content

Commit 066b763

Browse files
committed
revert
1 parent 08c9ce6 commit 066b763

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config/templates/craft.yml.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ extra-env:
105105
SPC_DEFAULT_C_FLAGS: "{{ cflags }}"
106106
SPC_DEFAULT_CXX_FLAGS: "{{ cflags }} -fasynchronous-unwind-tables"
107107
SPC_DEFAULT_LD_FLAGS: "-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,-z,noexecstack -Wl,--gc-sections {{ is_rhel and os == '10' ? '-Wl,-z,pack-relative-relocs' : '' }} {{ using_gcc and is_rhel ? specs_ldflags : '' }}{{ not using_gcc ? ' -flto=thin' : '' }}"
108-
SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS: "{{ cflags }} -g -fno-math-errno -fPIE{{ using_gcc ? '' : ' -flto=thin'}}"
109-
SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS: "-Wl,--build-id=sha1 -pie -release {{ release_suffix }}{{ using_gcc ? '' : ' -flto=thin'}}"
108+
SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS: "{{ cflags }} -g -fno-math-errno -fPIE{{ using_gcc ? '' : ' -flto'}}"
109+
SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS: "-Wl,--build-id=sha1 -pie -release {{ release_suffix }}{{ using_gcc ? '' : ' -flto'}}"
110110
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"
111111
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"
112112
PHP_BUILD_PROVIDER: "Static PHP <https://static-php.dev> #StandWithUkraine"

0 commit comments

Comments
 (0)