[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-167-g4319a8f

edwin edwin at 77e5149b-7576-45b1-b177-96237e5ba77b
Fri Jun 12 19:12:07 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 30f3f1414f99790ae6a37791b1c3a28c41e3b650
Author: edwin <edwin at 77e5149b-7576-45b1-b177-96237e5ba77b>
Date:   Wed May 6 11:31:18 2009 +0000

    add -fno-strict-aliasing, so that gcc-4.4.0 works correctly. Code will be fixed for 0.96. (bb #1581).
    
    git-svn-id: http://svn.clamav.net/svn/clamav-devel/trunk@5065 77e5149b-7576-45b1-b177-96237e5ba77b

diff --git a/ChangeLog b/ChangeLog
index 73bdd18..13d95b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed May  6 14:30:51 EEST 2009 (edwin)
+-------------------------------------
+ * configure, configure.in: add -fno-strict-aliasing, so that
+ gcc-4.4.0 works correctly. Code will be fixed for 0.96. (bb #1581).
+
 Wed May  6 10:37:51 CEST 2009 (tk)
 ----------------------------------
  * shared/getopt.[ch]: fix type conflict on Solaris (introduced in r5060)
diff --git a/configure b/configure
index 704117c..9cc7cdd 100755
--- a/configure
+++ b/configure
@@ -14762,7 +14762,10 @@ $as_echo "$as_me: error: gcc 4.1.0 is known to incorrectly compile upx.c. Upgrad
 				{ $as_echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5
 $as_echo "ok (${gcc_version})" >&6; }
 				;;
-	esac
+		esac
+		# bb #1581 - temporarely add -fno-strict-aliasing so gcc 4.4.0
+		# works correctly
+		CFLAGS="$CFLAGS -fno-strict-aliasing"
 	fi
 else
 	CFLAGS="$CFLAGS -O0"
diff --git a/configure.in b/configure.in
index 8008116..b1358bd 100644
--- a/configure.in
+++ b/configure.in
@@ -98,7 +98,10 @@ if test "$gcc_check" = "yes"; then
 			*)
 				AC_MSG_RESULT([ok (${gcc_version})])
 				;;
-	esac
+		esac
+		# bb #1581 - temporarely add -fno-strict-aliasing so gcc 4.4.0
+		# works correctly
+		CFLAGS="$CFLAGS -fno-strict-aliasing"
 	fi
 else
 	CFLAGS="$CFLAGS -O0"

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list