Bug 89382 - LTO and FORTIFY_SOURCE are not enabled with -O{z,s}
Summary: LTO and FORTIFY_SOURCE are not enabled with -O{z,s}
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 21:12 UTC by Tomasz Paweł Gajc
Modified: 2015-03-02 15:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Tomasz Paweł Gajc 2015-03-01 21:12:45 UTC
In configure AS_CASE([$CFLAGS], [*-O[[12345\ ]]*], should check for z and s too.

http://cgit.freedesktop.org/systemd/systemd/tree/configure.ac#n211

http://cgit.freedesktop.org/systemd/systemd/tree/configure.ac#n217
Comment 1 Zbigniew Jedrzejewski-Szmek 2015-03-02 13:25:13 UTC
Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=0289f2fb2a.
Comment 2 Tomasz Paweł Gajc 2015-03-02 15:21:29 UTC
(In reply to Zbigniew Jedrzejewski-Szmek from comment #1)
> Fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=0289f2fb2a.

Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.