diff options
author | Richard Braun <rbraun@sceen.net> | 2017-01-06 20:26:21 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-01-06 20:31:54 +0100 |
commit | 7320df6815649ab13a93a1b4d889b1b53bc112d4 (patch) | |
tree | f54249a46cad84dcd83831959ef243c5fbae9b75 /Makeconf | |
parent | 7ff15eaca93ef512fb9ef67068032e09d3f7cef3 (diff) | |
download | hurd-7320df6815649ab13a93a1b4d889b1b53bc112d4.tar.gz hurd-7320df6815649ab13a93a1b4d889b1b53bc112d4.tar.bz2 hurd-7320df6815649ab13a93a1b4d889b1b53bc112d4.zip |
Disable strict aliasing optimizations
The code base largely predates strict aliasing rules, and lots of
potential violations can be found.
Makeconf (CFLAGS): Add -fno-strict-aliasing option.
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ CPPFLAGS += $(INCLUDES) \ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ $($*-CPPFLAGS) CFLAGS += -std=gnu99 $(gnu89-inline-CFLAGS) -Wall -g -O3 \ - $($*-CFLAGS) + -fno-strict-aliasing $($*-CFLAGS) # Include the configure-generated file of parameters. # This sets up variables for build tools and installation directories. |