]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Gentoo: _FORTIFY_SOURCE fix. 6739/head
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Mon, 30 Nov 2015 21:20:45 +0000 (13:20 -0800)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Mon, 30 Nov 2015 21:20:45 +0000 (13:20 -0800)
commitccf7c29bd0df500b47ac92e64768c72c96bdd038
tree5db1fb2710c3f70c62072de96c6b409db44fca8c
parent55e743fd86202bfb5896ce516b9660a67130b4bf
Gentoo: _FORTIFY_SOURCE fix.

GCC under Gentoo has a patch that has a built-in define for
_FORTIFY_SOURCE if -O2 or higher are used. This causes warnings about
_FORTIFY_SOURCE redefined for every single object compiled.

Work around the issue by explicitly undefining _FORTIFY_SOURCE before we
define it again.

http://tracker.ceph.com/issues/13920 Fixes: #13920
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
src/Makefile-env.am