diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2019-03-22 16:41:20 -0600 |
---|---|---|
committer | Logan Gunthorpe <logang@deltatee.com> | 2019-03-22 16:41:20 -0600 |
commit | 662884bd08835875210a2c01674e5594fcae78c7 (patch) | |
tree | f5967ec160abee0ab17e121d8652da196bcd9748 /bbl | |
parent | a1c125dde740f5acd1e20a341cf3426ea44af292 (diff) | |
download | pk-662884bd08835875210a2c01674e5594fcae78c7.zip pk-662884bd08835875210a2c01674e5594fcae78c7.tar.gz pk-662884bd08835875210a2c01674e5594fcae78c7.tar.bz2 |
Disable compiler protections features
The riscv compiler available in Ubuntu enables stack protection and
FORTIFY source by default which breaks the build. Adding
-fno-stack-protector and -U_FORTIFY_SOURCE to the tool flags
fixes this without any side effects.
The compiler available in debian do not have these protections enabled
and work with or without the extra flag.
Fixes: #105
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'bbl')
0 files changed, 0 insertions, 0 deletions