Bug 1411712 - Move symbol version script flags for arm in mozglue to moz.build. r=mshal

MozReview-Commit-ID: II250cfTmip

--HG--
extra : rebase_source : 70a8764e3bb646c54005fb25dc4343fdc201bade
This commit is contained in:
Chris Manchester 2017-11-02 11:47:48 -07:00
Родитель 8bc7bdf347
Коммит 1877e49bc4
2 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -14,10 +14,3 @@ GARBAGE += mozglue.def
endif
include $(topsrcdir)/mozglue/build/replace_malloc.mk
ifdef MOZ_LINKER
ifeq (arm, $(TARGET_CPU))
OS_LDFLAGS += -Wl,-version-script,$(srcdir)/arm-eabi-filter
endif
endif

Просмотреть файл

@ -98,4 +98,7 @@ if CONFIG['OS_TARGET'] == 'Darwin':
# for TLS.
LDFLAGS += ['-Wl,-bind_at_load']
if CONFIG['MOZ_LINKER'] and CONFIG['TARGET_CPU'] == 'arm':
LDFLAGS += ['-Wl,-version-script,%s/arm-eabi-filter' % SRCDIR]
DIST_INSTALL = True