Add an option to enable prebinding for mach-o builds (bug 151087). r=cls.
git-svn-id: svn://10.0.0.236/branches/CHIMERA_M1_0_BRANCH@123213 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -71,6 +71,7 @@ EAZEL_PROFILER_LIBS=@EAZEL_PROFILER_LIBS@
|
||||
GC_LEAK_DETECTOR = @GC_LEAK_DETECTOR@
|
||||
NS_TRACE_MALLOC = @NS_TRACE_MALLOC@
|
||||
USE_ELF_DYNSTR_GC = @USE_ELF_DYNSTR_GC@
|
||||
USE_PREBINDING = @USE_PREBINDING@
|
||||
MOZ_MAIL_NEWS = @MOZ_MAIL_NEWS@
|
||||
MOZ_CALENDAR = @MOZ_CALENDAR@
|
||||
MOZ_PLAINTEXT_EDITOR_ONLY = @MOZ_PLAINTEXT_EDITOR_ONLY@
|
||||
|
||||
@@ -651,6 +651,13 @@ endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),Darwin)
|
||||
ifdef USE_PREBINDING
|
||||
export LD_PREBIND=1
|
||||
export LD_SEG_ADDR_TABLE=$(shell cd $(topsrcdir); pwd)/config/prebind-address-table
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef MOZ_NATIVE_MAKEDEPEND
|
||||
MKDEPEND_DIR =
|
||||
MKDEPEND = $(MOZ_NATIVE_MAKEDEPEND)
|
||||
|
||||
975
mozilla/configure
vendored
975
mozilla/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -3543,6 +3543,14 @@ MOZ_ARG_ENABLE_BOOL(elf-dynstr-gc,
|
||||
USE_ELF_DYNSTR_GC=1,
|
||||
USE_ELF_DYNSTR_GC= )
|
||||
|
||||
dnl ========================================================
|
||||
dnl = --enable-prebinding
|
||||
dnl ========================================================
|
||||
MOZ_ARG_ENABLE_BOOL(prebinding,
|
||||
[ --enable-prebinding Enable prebinding (Mac OS X only)],
|
||||
USE_PREBINDING=1,
|
||||
USE_PREBINDING= )
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
dnl = Profiling and Instrumenting
|
||||
@@ -4326,6 +4334,7 @@ AC_SUBST(MOZ_USER_DIR)
|
||||
|
||||
AC_SUBST(ENABLE_STRIP)
|
||||
AC_SUBST(USE_ELF_DYNSTR_GC)
|
||||
AC_SUBST(USE_PREBINDING)
|
||||
AC_SUBST(MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS)
|
||||
AC_SUBST(MOZ_COMPONENT_NSPR_LIBS)
|
||||
AC_SUBST(MOZ_COMPONENT_XPCOM_LIBS)
|
||||
|
||||
Reference in New Issue
Block a user