diff options
author | Ctibor Brančík <ctibor@brancik.cz> | 2017-06-15 19:27:37 +0200 |
---|---|---|
committer | Ctibor Brančík <ctibor@brancik.cz> | 2017-06-15 19:27:37 +0200 |
commit | 4cf472f0ed19b2c07469908688764a64a75b0f04 (patch) | |
tree | eaccf9edbcb658da12e33f34faa87160afb548c1 /app-emulation/wine-starcraft/files/wine-1.6-memset-O3.patch | |
parent | a5d38768250746fcbf2257c52bdade7acd0fa8ca (diff) | |
parent | 2805a8c5070ec5db32a364ac336004ee437b3488 (diff) | |
download | brancik-overlay-4cf472f0ed19b2c07469908688764a64a75b0f04.tar.gz brancik-overlay-4cf472f0ed19b2c07469908688764a64a75b0f04.tar.bz2 |
Merge branch 'master' of ssh://git.brancik.cz/gentoo-overlay
Diffstat (limited to 'app-emulation/wine-starcraft/files/wine-1.6-memset-O3.patch')
-rw-r--r-- | app-emulation/wine-starcraft/files/wine-1.6-memset-O3.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-emulation/wine-starcraft/files/wine-1.6-memset-O3.patch b/app-emulation/wine-starcraft/files/wine-1.6-memset-O3.patch new file mode 100644 index 0000000..75372f8 --- /dev/null +++ b/app-emulation/wine-starcraft/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 |