зеркало из https://github.com/mozilla/gecko-dev.git
OPTIMIZER: use -O2 in optimized builds. Do not use -g (for now) in
debug builds because it would produce a huge executable.
This commit is contained in:
Родитель
50187fd7d0
Коммит
9fdb1ea9fd
|
@ -68,7 +68,12 @@ I2_LOCALE = i2
|
|||
|
||||
EMACS = /bin/true
|
||||
PERL = /usr/bin/perl
|
||||
ifdef BUILD_OPT
|
||||
OPTIMIZER = -O2
|
||||
else
|
||||
# -g would produce a huge executable.
|
||||
OPTIMIZER =
|
||||
endif
|
||||
|
||||
######################################################################
|
||||
# Other
|
||||
|
|
|
@ -39,4 +39,9 @@ ARCH = dgux
|
|||
|
||||
NOSUCHFILE = /no-such-file
|
||||
|
||||
ifdef BUILD_OPT
|
||||
OPTIMIZER = -O2
|
||||
else
|
||||
# -g would produce a huge executable.
|
||||
OPTIMIZER =
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче