mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
7424fb1500
commit
2f4ba4debf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user