From e942a02fcbfbc9019016510aaf0fa85ae39b7bdd Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Mon, 9 Dec 2019 00:14:44 +0100 Subject: [PATCH] Add CFLAGS to Linux release job Some files in libs are using C compiler, so we need to make sure build all flags are set for C as well. Als, add -pipe to avoid temporary files. This is intermediary step before merging this step back with build scripts for other jobs. --- .github/workflows/linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 75563cc8..695f01fb 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -59,7 +59,7 @@ jobs: run: | set -x ./autogen.sh - ./configure CXXFLAGS="-O3 -DNDEBUG" + ./configure CFLAGS="-O3 -DNDEBUG -pipe" CXXFLAGS="-O3 -DNDEBUG -pipe" make -j "$(nproc)" strip src/dosbox - name: Package