1
0
Fork 0

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:
Patryk Obara 2019-12-09 00:14:44 +01:00 committed by Patryk Obara
parent 735a043fd5
commit e942a02fcb

View file

@ -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