diff -Nur lirc-0.8.3pre1-old/configure.ac lirc-0.8.3pre1/configure.ac
--- lirc-0.8.3pre1-old/configure.ac	2007-12-05 19:16:55.855088318 +0200
+++ lirc-0.8.3pre1/configure.ac	2007-12-05 19:19:22.301825030 +0200
@@ -9,7 +9,7 @@
 AM_INIT_AUTOMAKE(lirc, 0.8.3pre1)
 AM_CONFIG_HEADER(config.h)
 
-CFLAGS="${CFLAGS--O2 -g -Wall}"
+CFLAGS=""
 
 dnl Checks for programs.
 AC_PROG_CC
