From 79d0bd2ba3b5c4759b080807436b042d971cc21d Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Sat, 10 Apr 2004 22:51:37 +0000 Subject: [PATCH] Fix profiledbuild for static builds. r=cls, a=brendan. Bug 237239. git-svn-id: svn://10.0.0.236/trunk@154680 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/config.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/config/config.mk b/mozilla/config/config.mk index cf144b8c3d2..252e35c8020 100644 --- a/mozilla/config/config.mk +++ b/mozilla/config/config.mk @@ -486,6 +486,11 @@ ifndef _ENABLE_PIC ENABLE_PROFILE_GENERATE=1 _ENABLE_PIC=1 endif +else +# For static builds, always enable profile generation for non-PIC objects. +ifndef _ENABLE_PIC +ENABLE_PROFILE_GENERATE=1 +endif endif #