Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor
authorMike Hommey <mh+mozilla@glandium.org>
Mon, 14 Jan 2019 16:58:34 +0000
changeset 453864 e351e6cad7ed37fed9e392fd4a9233ea89d1385f
parent 453845 a01a559aa6117261c0fa9bbc1d9bd1555ef9a4d0
child 453865 e44a152c9f9f2859751dd43dc6ac057f643b70d0
push id35378
push userbtara@mozilla.com
push dateTue, 15 Jan 2019 16:08:45 +0000
treeherdermozilla-central@5090d461e169 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmajor
bugs1519744, 1284674
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1519744 - Remove MOZ_GLUE_WRAP_LDFLAGS. r=dmajor It's been unused since NUWA was removed in bug 1284674. Differential Revision: https://phabricator.services.mozilla.com/D16426
build/gecko_templates.mozbuild
js/src/old-configure.in
mozglue/build/moz.build
old-configure.in
--- a/build/gecko_templates.mozbuild
+++ b/build/gecko_templates.mozbuild
@@ -32,17 +32,16 @@ def GeckoBinary(linkage='dependent', moz
 
         USE_LIBS += [
             'xpcomglue',
         ]
     elif linkage != None:
         error('`linkage` must be "dependent", "standalone" or None')
 
     if mozglue:
-        LDFLAGS += CONFIG['MOZ_GLUE_WRAP_LDFLAGS']
         if mozglue == 'program':
             USE_LIBS += ['mozglue']
             DEFINES['MOZ_HAS_MOZGLUE'] = True
             if CONFIG['MOZ_GLUE_IN_PROGRAM'] and CONFIG['CC_TYPE'] in ('clang', 'gcc'):
                 LDFLAGS += ['-rdynamic']
         elif mozglue == 'library':
             LIBRARY_DEFINES['MOZ_HAS_MOZGLUE'] = True
             if not CONFIG['MOZ_GLUE_IN_PROGRAM']:
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -1372,17 +1372,16 @@ if test "$MOZ_MEMORY"; then
   dnl platforms we have special knowledge of.
   case "${target}" in
   *-mingw*)
     export MOZ_NO_DEBUG_RTL=1
     ;;
   esac
 fi
 AC_SUBST(MOZ_GLUE_IN_PROGRAM)
-AC_SUBST_LIST(MOZ_GLUE_WRAP_LDFLAGS)
 
 dnl ========================================================
 dnl instruments
 dnl ========================================================
 if test -n "$MOZ_INSTRUMENTS"; then
     LIBS="$LIBS -framework CoreFoundation"
 fi
 
--- a/mozglue/build/moz.build
+++ b/mozglue/build/moz.build
@@ -120,18 +120,16 @@ if CONFIG['MOZ_WIDGET_TOOLKIT']:
 
 USE_LIBS += [
     'mfbt',
 ]
 
 DEFINES['IMPL_MFBT'] = True
 LIBRARY_DEFINES['MOZ_HAS_MOZGLUE'] = True
 
-LDFLAGS += CONFIG['MOZ_GLUE_WRAP_LDFLAGS']
-
 if CONFIG['OS_TARGET'] == 'Darwin':
     # On OSX 10.10.3, a dead lock happens in some cases involving dynamic
     # symbol resolution for symbols that jemalloc itself uses. While it
     # might be possible to find a way to avoid all such symbol resolutions,
     # it's currently not possible because at the very least there's a call
     # to pthread_self from tsd_init_check_recursion, which is necessary
     # because somehow clang doesn't want to accept the __thread keyword
     # for TLS.
--- a/old-configure.in
+++ b/old-configure.in
@@ -2779,19 +2779,16 @@ else
   case "${target}" in
   *-mingw*)
     export MOZ_NO_DEBUG_RTL=1
     ;;
   esac
 fi # MOZ_MEMORY
 AC_SUBST(MOZ_GLUE_IN_PROGRAM)
 
-AC_SUBST_LIST(MOZ_GLUE_WRAP_LDFLAGS)
-export MOZ_GLUE_WRAP_LDFLAGS
-
 dnl ========================================================
 dnl = Enable using the clang plugin to build
 dnl ========================================================
 
 if test -n "$COMPILE_ENVIRONMENT"; then
 MOZ_CONFIG_CLANG_PLUGIN
 fi # COMPILE_ENVIRONMENT