diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | linux/Makefrag.am | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index eb940cb..913db55 100644 --- a/Makefile.am +++ b/Makefile.am @@ -59,10 +59,6 @@ AM_CFLAGS += \ AM_CFLAGS += \ -Wall -# See <http://lists.gnu.org/archive/html/bug-hurd/2006-01/msg00148.html>. -AM_CFLAGS += \ - -fno-strict-aliasing - # We need the GNU-style inline AM_CFLAGS += \ -fgnu89-inline diff --git a/linux/Makefrag.am b/linux/Makefrag.am index 0973f11..1b69010 100644 --- a/linux/Makefrag.am +++ b/linux/Makefrag.am @@ -36,6 +36,11 @@ liblinux_a_CPPFLAGS = $(AM_CPPFLAGS) \ # Because of the use of `extern inline' in some Linux header files without # corresponding text segment definitions, we must always optimize. liblinux_a_CFLAGS = -O2 $(AM_CFLAGS) + +# See <http://lists.gnu.org/archive/html/bug-hurd/2006-01/msg00148.html>. +liblinux_a_CFLAGS += \ + -fno-strict-aliasing + # TODO. Do we really need `-traditional'? liblinux_a_CCASFLAGS = $(AM_CCASFLAGS) \ -D__ASSEMBLY__ -traditional \ |