mirror of https://github.com/PCSX2/pcsx2.git
Use glibc for strcmp and memcmp.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59048 . The bug is 5+ years old with no fix in sight. Mesa did some test that showed 50% improvement and enabled it by default. http://lists.freedesktop.org/archives/mesa-dev/2011-June/009078.html . It could also be coded but glibc version has mmx, sse2, and sse4 support.
This commit is contained in:
parent
1db74162e6
commit
0d344605e1
|
@ -226,7 +226,7 @@ endif()
|
|||
#-------------------------------------------------------------------------------
|
||||
# Set some default compiler flags
|
||||
#-------------------------------------------------------------------------------
|
||||
set(COMMON_FLAG "-pipe -std=c++11 -fvisibility=hidden -pthread")
|
||||
set(COMMON_FLAG "-pipe -std=c++11 -fvisibility=hidden -pthread -fno-builtin-strcmp -fno-builtin-memcmp")
|
||||
if (DISABLE_SVU)
|
||||
set(COMMON_FLAG "${COMMON_FLAG} -DDISABLE_SVU")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue