зеркало из https://github.com/mozilla/moz-skia.git
Fix a warning in libtess in Release builds; define NDEBUG in Release on all
platforms. BUG: http://code.google.com/p/skia/issues/detail?id=456 Review URL: http://codereview.appspot.com/5555054/ git-svn-id: http://skia.googlecode.com/svn/trunk@3076 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
Родитель
4f3c253ece
Коммит
7288c49cf2
|
@ -84,7 +84,8 @@
|
|||
'cflags': ['-g']
|
||||
},
|
||||
'Release': {
|
||||
'cflags': ['-O2']
|
||||
'cflags': ['-O2'],
|
||||
'defines': [ 'NDEBUG' ],
|
||||
},
|
||||
},
|
||||
'cflags': [
|
||||
|
@ -119,6 +120,7 @@
|
|||
'xcode_settings': {
|
||||
'GCC_OPTIMIZATION_LEVEL': '3',
|
||||
},
|
||||
'defines': [ 'NDEBUG' ],
|
||||
},
|
||||
},
|
||||
'xcode_settings': {
|
||||
|
@ -161,7 +163,8 @@
|
|||
'cflags': ['-g']
|
||||
},
|
||||
'Release': {
|
||||
'cflags': ['-O2']
|
||||
'cflags': ['-O2'],
|
||||
'defines': [ 'NDEBUG' ],
|
||||
},
|
||||
},
|
||||
'libraries': [
|
||||
|
|
|
@ -71,7 +71,9 @@ typedef void GLvoid;
|
|||
#define __gl_edgeSign Sk__gl_edgeSign
|
||||
#define __gl_memInit Sk__gl_memInit
|
||||
#define __gl_meshAddEdgeVertex Sk__gl_meshAddEdgeVertex
|
||||
#ifndef NDEBUG
|
||||
#define __gl_meshCheckMesh Sk__gl_meshCheckMesh
|
||||
#endif
|
||||
#define __gl_meshConnect Sk__gl_meshConnect
|
||||
#define __gl_meshDelete Sk__gl_meshDelete
|
||||
#define __gl_meshDeleteMesh Sk__gl_meshDeleteMesh
|
||||
|
|
Загрузка…
Ссылка в новой задаче