mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
scons: Use -fno-builtin-memcmp.
ipers framerate on llmvpipe improves 60%. Issue spotted by Adam Jackson <ajax at redhat.com>. http://lists.freedesktop.org/archives/mesa-dev/2011-June/009077.html
This commit is contained in:
parent
ae1153c4ac
commit
983fa4ad52
1 changed files with 3 additions and 0 deletions
|
|
@ -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']
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue