diff options
author | Richard Braun <rbraun@sceen.net> | 2016-01-02 21:56:14 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2016-01-02 21:56:14 +0100 |
commit | 37f873e94db9966c4e852a868916db2682f37f78 (patch) | |
tree | c37db75b9997a461bf57eb9973ff2aa992d4d498 /Makefile.am | |
parent | c7408a84671fa92b2a7566931e938ce50e833da6 (diff) |
Completely disable strict aliasing
* Makefile.am (AM_CFLAGS): Add -fno-strict-aliasing.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 76a192ba..1c1bffff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,6 +63,11 @@ AM_CFLAGS += \ AM_CFLAGS += \ -fgnu89-inline +# Much of the Mach code predates C99 and makes invalid assumptions about +# type punning. +AM_CFLAGS += \ + -fno-strict-aliasing + # The smashing stack protector might be enabled by default, but might emit # unsuitable code. if disable_smashing_stack_protector |