mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Don't compile .o files for executables with -fPIC. Bug 235657, r=seawood.
This commit is contained in:
parent
5364393e5a
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user