From cda57348e69cc434f17c2bd87225d8c612cfc901 Mon Sep 17 00:00:00 2001 From: "shaver%mozilla.org" Date: Wed, 15 Jun 2005 23:42:07 +0000 Subject: [PATCH] Bug 295659: if we're building for an XPI_NAMEd package, always use PIC, even if we're not at the stage of constructing the component yet. Otherwise we end up mixing PIC and non-PIC code for components that are constructed out of sub-archives (like storage, f.e.). r=bsmedberg. git-svn-id: svn://10.0.0.236/trunk@174649 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/config/config.mk b/mozilla/config/config.mk index 974ef66f58a..5a60d7c3df7 100644 --- a/mozilla/config/config.mk +++ b/mozilla/config/config.mk @@ -363,9 +363,9 @@ endif # build option. ifdef XPI_NAME +_ENABLE_PIC=1 ifdef IS_COMPONENT EXPORT_LIBRARY= -_ENABLE_PIC=1 FORCE_STATIC_LIB= FORCE_SHARED_LIB=1 endif