зеркало из https://github.com/mozilla/pjs.git
Bustage fix - instead of only allowing PIC if LIBRARY_NAME is defined, just skip it if PROGRAM, SIMPLE_PROGRAMS, HOST_PROGRAM, or HOST_SIMPLE_PROGRAMS is defined.
This commit is contained in:
Родитель
8f3f486c0d
Коммит
24f3fdd1c2
|
@ -425,7 +425,7 @@ MOZ_META_COMPONENTS_crypto_comps = pipboot pippki pipnss
|
||||||
# Build using PIC by default
|
# Build using PIC by default
|
||||||
# Do not use PIC if not building a shared lib (see exceptions below)
|
# Do not use PIC if not building a shared lib (see exceptions below)
|
||||||
#
|
#
|
||||||
ifdef LIBRARY_NAME
|
ifeq (,$(PROGRAM)$(SIMPLE_PROGRAMS)$(HOST_PROGRAM)$(HOST_SIMPLE_PROGRAMS))
|
||||||
ifneq (,$(BUILD_SHARED_LIBS)$(FORCE_SHARED_LIB)$(FORCE_USE_PIC))
|
ifneq (,$(BUILD_SHARED_LIBS)$(FORCE_SHARED_LIB)$(FORCE_USE_PIC))
|
||||||
_ENABLE_PIC=1
|
_ENABLE_PIC=1
|
||||||
endif
|
endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче