rhub icon indicating copy to clipboard operation
rhub copied to clipboard

Fedora CFLAGS and CXXFLAGS on CRAN

Open traversc opened this issue 5 years ago • 0 comments

The box used on CRAN to check Fedora has the following flags:

Experimentally, security flags similar to Fedora's are in use:

CFLAGS="-g -O2 -Wall -pedantic -mtune=native -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection"

CXXFLAGS="-g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -Wno-parentheses -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection"

https://www.stats.ox.ac.uk/pub/bdr/Rconfig/r-devel-linux-x86_64-fedora-gcc

Would it be possible to add these flags to match on Rhub?

traversc avatar Jun 03 '20 01:06 traversc