Skip to content

Commit

Permalink
do not use non portable flags in check_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kss2k authored Oct 16, 2024
1 parent c0e4762 commit f62344a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- name: Set environment variables for compilation flags
run: |
echo "CC=gcc-7 -std=gnu99" >> $GITHUB_ENV
echo "CFLAGS=-g -O3 -Wall -pedantic -mtune=native -D_FORTIFY_SOURCE=2" >> $GITHUB_ENV
echo "CXXFLAGS=-g -O3 -Wall -pedantic -mtune=native -frtti -Wno-ignored-attributes -Wno-deprecated-declarations -D_FORTIFY_SOURCE=2" >> $GITHUB_ENV
echo "FFLAGS=-g -O2 -mtune=native -Wall -pedantic" >> $GITHUB_ENV
echo "FCFLAGS=-g -O2 -mtune=native -Wall -pedantic" >> $GITHUB_ENV
echo "CFLAGS=-g -O2 -Wall -pedantic -fomit-frame-pointer" >> $GITHUB_ENV
echo "CXXFLAGS=-g -O2 -Wall -pedantic -fomit-frame-pointer" >> $GITHUB_ENV
echo "FFLAGS=-g -O2 -Wall -pedantic" >> $GITHUB_ENV
echo "FCFLAGS=-g -O2 -Wall -pedantic" >> $GITHUB_ENV
- name: Run tests
run: |
Expand Down

0 comments on commit f62344a

Please sign in to comment.