From 1dbbdce0be78c12e3f29b622da3e69137290048c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sun, 27 Jun 2010 13:00:39 +0200 Subject: [PATCH] Add a -fno-tree-pre to our CFLAGS as it breaks the ringbuffers on Ubuntu 9.10/64 bit. --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 30ba444de6..f5b47786a3 100644 --- a/configure.in +++ b/configure.in @@ -50,7 +50,9 @@ AC_INIT(configure.in) CFLAGS="$CFLAGS -W" fi - CFLAGS="$CFLAGS -Wall -fno-strict-aliasing" + # remove optimization options that break our code + # VJ 2010/06/27: no-tree-pre added. It breaks ringbuffers code. + CFLAGS="$CFLAGS -Wall -fno-strict-aliasing -fno-tree-pre" CFLAGS="$CFLAGS -Wno-unused-parameter" CFLAGS="$CFLAGS -std=gnu99"