diff --git a/.github/workflows/build-unix.yml b/.github/workflows/build-unix.yml index e0b51614..b58afb39 100644 --- a/.github/workflows/build-unix.yml +++ b/.github/workflows/build-unix.yml @@ -198,9 +198,9 @@ jobs: run: ${{ needs.define-build.outputs.download }} - name: "Build PHP" run: ${{ needs.define-build.outputs.build }} - #- name: Setup tmate session - # if: ${{ failure() }} - # uses: mxschmitt/action-tmate@v3 + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 # Upload cli executable - if: ${{ inputs.build-cli == true }} diff --git a/src/SPC/builder/unix/UnixBuilderBase.php b/src/SPC/builder/unix/UnixBuilderBase.php index 41213c30..a82be71c 100644 --- a/src/SPC/builder/unix/UnixBuilderBase.php +++ b/src/SPC/builder/unix/UnixBuilderBase.php @@ -327,7 +327,7 @@ abstract class UnixBuilderBase extends BuilderBase if (getenv('SPC_CMD_VAR_PHP_EMBED_TYPE') === 'shared') { $libphpVersion = preg_replace('/\.\d$/', '', $libphpVersion); } - $debugFlags = $this->getOption('no-strip') ? "-w -s " : ''; + $debugFlags = $this->getOption('no-strip') ? '-w -s ' : ''; $extLdFlags = "-extldflags '-pie'"; $muslTags = ''; $staticFlags = '';