Don't compile .o files for executables with -fPIC. Bug 235657, r=seawood.

This commit is contained in:
bryner%brianryner.com 2004-02-26 08:17:27 +00:00
Родитель 5364393e5a
Коммит a3f2a38be2
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -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