Skip to content

Commit

Permalink
Avoid non-portable flags
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jan 30, 2023
1 parent 553eef3 commit 60a8f74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ runs:
run: |
## Create ~/.R/Makevars
mkdir -p ~/.R
echo 'CFLAGS=-g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes' >> ~/.R/Makevars
echo 'CFLAGS=-g -O2 -Wall -pedantic -mtune=native -Werror=format-security -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection' >> ~/.R/Makevars
echo 'FFLAGS=-g -O2 -mtune=native -Wall -pedantic' >> ~/.R/Makevars
echo 'CXXFLAGS=-g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection' >> ~/.R/Makevars
echo 'CXXFLAGS=-g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Werror=format-security -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection' >> ~/.R/Makevars
shell: bash

- name: Show R CMD config --all
Expand Down

0 comments on commit 60a8f74

Please sign in to comment.