mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
mesa: disable MSVC global optimization in pack.c
To reduce excessive compilation time in release mode.
NOTE: This is a candidate for the 8.0 branch.
Tested-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 1a8f6ac5a4)
This commit is contained in:
parent
454841bedd
commit
a0ea21ff04
1 changed files with 13 additions and 0 deletions
|
|
@ -29,6 +29,19 @@
|
|||
*/
|
||||
|
||||
|
||||
/*
|
||||
* XXX: MSVC takes forever to compile this module for x86_64 unless we disable
|
||||
* this global optimization.
|
||||
*
|
||||
* See also:
|
||||
* - http://msdn.microsoft.com/en-us/library/1yk3ydd7.aspx
|
||||
* - http://msdn.microsoft.com/en-us/library/chh3fb0k.aspx
|
||||
*/
|
||||
#if defined(_MSC_VER) && defined(_M_X64)
|
||||
# pragma optimize( "g", off )
|
||||
#endif
|
||||
|
||||
|
||||
#include "glheader.h"
|
||||
#include "colormac.h"
|
||||
#include "enums.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue