зеркало из https://github.com/mozilla/gecko-dev.git
Bug 948621 (part 2) - Abort DMD-enabled Windows builds unless --enable-profiling is specified. r=ehsan.
--HG-- extra : rebase_source : 7398d8d7f13792912f27948f9681ff608a0e90c6
This commit is contained in:
Родитель
736ea6d8cf
Коммит
6b9163f560
|
@ -15,6 +15,9 @@
|
|||
#include <string.h>
|
||||
|
||||
#ifdef XP_WIN
|
||||
#if defined(MOZ_OPTIMIZE) && !defined(MOZ_PROFILING)
|
||||
#error "Optimized, DMD-enabled builds on Windows must be built with --enable-profiling"
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
#else
|
||||
|
|
|
@ -23,3 +23,6 @@ LIBRARY_NAME = 'dmd'
|
|||
FORCE_SHARED_LIB = True
|
||||
|
||||
DEFINES['MOZ_NO_MOZALLOC'] = True
|
||||
|
||||
if CONFIG['MOZ_OPTIMIZE']:
|
||||
DEFINES['MOZ_OPTIMIZE'] = True
|
||||
|
|
Загрузка…
Ссылка в новой задаче