diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-04-15 16:25:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-04-15 16:25:31 +0100 |
commit | 0c389803f1cedf572d8bf954d4c64989dbbe4959 (patch) | |
tree | f39a0946264fa5ec4e8ffe7d13e56d07334b391f /app-emulation/wine/files/wine-1.6-memset-O3.patch | |
parent | 51e7c083b849fb1a2a7bb8c7d7313d1c72167c74 (diff) |
Gallium Nine patched wine ;)
Diffstat (limited to 'app-emulation/wine/files/wine-1.6-memset-O3.patch')
-rw-r--r-- | app-emulation/wine/files/wine-1.6-memset-O3.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-emulation/wine/files/wine-1.6-memset-O3.patch b/app-emulation/wine/files/wine-1.6-memset-O3.patch new file mode 100644 index 00000000..75372f86 --- /dev/null +++ b/app-emulation/wine/files/wine-1.6-memset-O3.patch @@ -0,0 +1,21 @@ +Avoid "undefined reference to `memset'" error when building with +USE=custom-cflags and -O3 in CFLAGS with gcc-4.8. + +See: + +http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888 +http://bugs.winehq.org/show_bug.cgi?id=33521 +https://bugs.gentoo.org/show_bug.cgi?id=480508 + +diff --git a/configure.ac b/configure.ac +index d8033cf..fe7cc7d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1767,6 +1767,7 @@ then + + dnl Check for some compiler flags + WINE_TRY_CFLAGS([-fno-builtin],[AC_SUBST(BUILTINFLAG,"-fno-builtin")]) ++ WINE_TRY_CFLAGS([-fno-tree-loop-distribute-patterns]) + WINE_TRY_CFLAGS([-fno-strict-aliasing]) + dnl clang needs to be told to fail on unknown options + saved_CFLAGS=$CFLAGS |