зеркало из https://github.com/mozilla/gecko-dev.git
Don't compile .o files for executables with -fPIC. Bug 235657, r=seawood.
This commit is contained in:
Родитель
5364393e5a
Коммит
a3f2a38be2
|
@ -425,9 +425,11 @@ MOZ_META_COMPONENTS_crypto_comps = pipboot pippki pipnss
|
|||
# Build using PIC by default
|
||||
# Do not use PIC if not building a shared lib (see exceptions below)
|
||||
#
|
||||
ifdef LIBRARY_NAME
|
||||
ifneq (,$(BUILD_SHARED_LIBS)$(FORCE_SHARED_LIB)$(FORCE_USE_PIC))
|
||||
_ENABLE_PIC=1
|
||||
endif
|
||||
endif
|
||||
|
||||
# If module is going to be merged into the nsStaticModule,
|
||||
# make sure that the entry points are translated and
|
||||
|
|
Загрузка…
Ссылка в новой задаче