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.
This commit is contained in:
parent
735a043fd5
commit
e942a02fcb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue