From d0c6aa85c236c64d3a46ffa686a9bcaff114209c Mon Sep 17 00:00:00 2001 From: Ginn Chen Date: Mon, 2 Nov 2009 17:20:21 +0800 Subject: [PATCH] Bug 524422 Disable PGO for sqlite3 with Sun Studio on Solaris r=ted.mielczarek --- db/sqlite3/src/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/db/sqlite3/src/Makefile.in b/db/sqlite3/src/Makefile.in index 9844929e4ed..9cbc0af2296 100644 --- a/db/sqlite3/src/Makefile.in +++ b/db/sqlite3/src/Makefile.in @@ -116,6 +116,11 @@ ifdef MOZ_DEBUG DEFINES += -DSQLITE_DEBUG=1 endif +# disable PGO for Sun Studio +ifdef SOLARIS_SUNPRO_CC +NO_PROFILE_GUIDED_OPTIMIZE = 1 +endif + ifeq ($(OS_ARCH),OS2) ifdef MOZ_OS2_HIGH_MEMORY DEFINES += -DOS2_HIGH_MEMORY