diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-10-17 17:21:19 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-10-17 17:21:19 +0000 |
commit | 50f1dbe7d1633c28414ba36cdbc9bdde95fb7b4c (patch) | |
tree | fc09c2115aec6ba0103bcde3f82b4ed52aff042a /app-antivirus/clamav/files | |
parent | Version cleanup and [R]DEPEND moved into vim.eclass (diff) | |
download | gentoo-2-50f1dbe7d1633c28414ba36cdbc9bdde95fb7b4c.tar.gz gentoo-2-50f1dbe7d1633c28414ba36cdbc9bdde95fb7b4c.tar.bz2 gentoo-2-50f1dbe7d1633c28414ba36cdbc9bdde95fb7b4c.zip |
Cleanup, remove -fno-strict-aliasing from configure (#275928)
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'app-antivirus/clamav/files')
-rw-r--r-- | app-antivirus/clamav/files/clamav-0.95.2-fno-strict-aliasing.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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" |