зеркало из https://github.com/mozilla/pjs.git
Bugzilla Bug 303507: changed GCC's default OPTIMIZER back to -O2.
r=saul.edwards.
This commit is contained in:
Родитель
2e4983779f
Коммит
51ef3c3c86
|
@ -148,7 +148,7 @@ ifeq ($(OS_RELEASE),2.0)
|
|||
endif
|
||||
|
||||
ifdef BUILD_OPT
|
||||
OPTIMIZER = -O3
|
||||
OPTIMIZER = -O2
|
||||
endif
|
||||
|
||||
ifeq ($(USE_PTHREADS),1)
|
||||
|
|
|
@ -112,7 +112,7 @@ ifdef NS_USE_GCC
|
|||
OS_CFLAGS += -MDupdate $(DEPENDENCIES)
|
||||
endif
|
||||
ifdef BUILD_OPT
|
||||
OPTIMIZER = -O3
|
||||
OPTIMIZER = -O2
|
||||
# Enable this for accurate dtrace profiling
|
||||
# OPTIMIZER += -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer
|
||||
endif
|
||||
|
@ -183,6 +183,7 @@ ifeq ($(USE_64), 1)
|
|||
endif
|
||||
DSO_LDOPTS += -G -h $(notdir $@)
|
||||
endif
|
||||
DSO_LDOPTS += -z combreloc -z defs -z ignore
|
||||
|
||||
# -KPIC generates position independent code for use in shared libraries.
|
||||
# (Similarly for -fPIC in case of gcc.)
|
||||
|
@ -191,7 +192,6 @@ ifdef NS_USE_GCC
|
|||
else
|
||||
DSO_CFLAGS += -KPIC
|
||||
endif
|
||||
DSO_LDOPTS += -z combreloc -z defs -z ignore
|
||||
|
||||
NOSUCHFILE = /solaris-rm-f-sucks
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче