diff options
Diffstat (limited to 'mesalib/scons')
-rw-r--r-- | mesalib/scons/gallium.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/scons/gallium.py b/mesalib/scons/gallium.py index 1c9c0ea32..c3350b3ca 100644 --- a/mesalib/scons/gallium.py +++ b/mesalib/scons/gallium.py @@ -361,6 +361,9 @@ def generate(env): ccflags += ['-O0'] else: ccflags += ['-O3'] + # gcc's builtin memcmp is slower than glibc's + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43052 + ccflags += ['-fno-builtin-memcmp'] # Work around aliasing bugs - developers should comment this out ccflags += ['-fno-strict-aliasing'] ccflags += ['-g'] |