From 1b86b44936080a0e53811f0aec8caef0bb708d6f Mon Sep 17 00:00:00 2001
From: Yun Liu <yun@yun.(none)>
Date: Thu, 8 Jan 2009 13:07:15 -0500
Subject: [PATCH] Fix GUI crash in Ubuntu8.10 64bit system

---
 debian/changelog.intrepid | 2 +-
 sflphone-gtk/configure.ac | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog.intrepid b/debian/changelog.intrepid
index 09c1badc03..719de4bcb4 100644
--- a/debian/changelog.intrepid
+++ b/debian/changelog.intrepid
@@ -1,4 +1,4 @@
-sflphone (0.9.2-0ubuntu3) intrepid; urgency=low
+sflphone (0.9.2-2ubuntu3) intrepid; urgency=low
 
   [ Emmanuel Milou ]
   * The main thread synchronizes the ringtone thread
diff --git a/sflphone-gtk/configure.ac b/sflphone-gtk/configure.ac
index e94fdcaafe..b90af938de 100644
--- a/sflphone-gtk/configure.ac
+++ b/sflphone-gtk/configure.ac
@@ -16,6 +16,8 @@ AC_ARG_WITH(debug,
 	)
 if test "x$with_debug" = "xfull" -o "x$with_debug" = "xyes"; then
 	CFLAGS="$CFLAGS -g -DDEBUG -Wall -Wextra"
+else
+	CFLAGS="$CFLAGS -g -Wall -O2"
 fi
 
 AC_PROG_CC
-- 
GitLab