From a3f2a38be2273b30f707bf07142f515db741d3c7 Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Thu, 26 Feb 2004 08:17:27 +0000 Subject: [PATCH] Don't compile .o files for executables with -fPIC. Bug 235657, r=seawood. --- config/config.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.mk b/config/config.mk index b4ab96c75bfb..d70dfc7aed5d 100644 --- a/config/config.mk +++ b/config/config.mk @@ -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