From 50f1dbe7d1633c28414ba36cdbc9bdde95fb7b4c Mon Sep 17 00:00:00 2001 From: Tobias Scherbaum Date: Sat, 17 Oct 2009 17:21:19 +0000 Subject: Cleanup, remove -fno-strict-aliasing from configure (#275928) (Portage version: 2.2_rc46/cvs/Linux x86_64) --- .../files/clamav-0.95.2-fno-strict-aliasing.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-antivirus/clamav/files/clamav-0.95.2-fno-strict-aliasing.patch (limited to 'app-antivirus/clamav/files') diff --git a/app-antivirus/clamav/files/clamav-0.95.2-fno-strict-aliasing.patch b/app-antivirus/clamav/files/clamav-0.95.2-fno-strict-aliasing.patch new file mode 100644 index 000000000000..e36411d0d801 --- /dev/null +++ b/app-antivirus/clamav/files/clamav-0.95.2-fno-strict-aliasing.patch @@ -0,0 +1,18 @@ +--- configure.in ++++ configure.in +@@ -97,9 +97,15 @@ + AC_MSG_RESULT([ok (${gcc_version})]) + ;; + esac ++ case "${gcc_version}" in ++ [[56789]].* | 4.[[3456789]].*) + # bb #1581 - temporarely add -fno-strict-aliasing so gcc 4.4.0 + # works correctly + CFLAGS="$CFLAGS -fno-strict-aliasing" ++ ;; ++ *) ++ ;; ++ esac + fi + else + CFLAGS="$CFLAGS -O0" -- cgit v1.2.3-65-gdbad