build-sys: Use -fno-strict-aliasing by default
authorColin Walters <walters@verbum.org>
Fri, 15 Dec 2017 14:20:58 +0000 (09:20 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 15 Dec 2017 14:52:38 +0000 (14:52 +0000)
commit8c42e81f123a696d9f1c02764e53a38b75260f25
tree2a420d8dfc71cefc9617fbd793cbd80d83befd7c
parentb822f337b541e3cc8be3454f0e423e0874209b82
build-sys: Use -fno-strict-aliasing by default

See discussion in https://bugzilla.gnome.org/show_bug.cgi?id=791622

This is what e.g. systemd, the Linux kernel, and lots of other projects do. It's
astonishingly hard to reliably get right; the optimization IMO only really
matters for truly high performance inner loops, but if you're doing
that kind of stuff today you're probably doing it on a GPU anyways.

Closes: #1384
Approved by: pwithnall
Makefile.am
configure.ac