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
This commit is contained in:
bryner%brianryner.com 2004-04-10 22:51:37 +00:00
parent 2642d50ece
commit 79d0bd2ba3

View File

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