]> git.proxmox.com Git - mirror_zfs.git/commit
Remove DEBUG_STACKFLAGS to bypass compiler error
authorTony Hutter <hutter2@llnl.gov>
Thu, 3 May 2018 21:56:28 +0000 (14:56 -0700)
committerTony Hutter <hutter2@llnl.gov>
Tue, 8 May 2018 00:19:58 +0000 (17:19 -0700)
commite749242a9944bae80d94783d0603f9df7ec08471
tree0798f98c818f45b8876a3db0c106eee1e9841d55
parent9267ef84fdd8970d8ef2f39a840cb3c4a6b7d7fc
Remove DEBUG_STACKFLAGS to bypass compiler error

'Support -fsanitize=address with --enable-asan' (fed9035) removed
DEBUG_STACKFLAGS="-fstack-check" from zfs-build.m4 in master.
However, that's too heavyweight a patch to merge in to the 0.7.x branch,
so just take the one-liner we need to get around a compiler error
on Fedora 28:

$ ./configure --enable-debug --enable-debuginfo && make pkg-utils
  CC       gethrtime.lo
cc1: error: '-fstack-check=' and '-fstack-clash_protection' are mutually
exclusive.  Disabling '-fstack-check=' [-Werror]

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Requires-spl: #701
config/zfs-build.m4