Bug 1365206 - Remove Sun Studio compiler optimization flags for mozjemalloc. r?gps draft
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 16 May 2017 18:03:51 +0900
changeset 580818 899a8fcb3e9bef1447b79476d8121660478b1e7c
parent 580817 2be1833d89d2be2d56b642086584f7c7b12e3c6a
child 629388 3e0d047ca48660d670237932cbd4595c48debd6a
push id59665
push userbmo:mh+mozilla@glandium.org
push dateThu, 18 May 2017 23:29:49 +0000
reviewersgps
bugs1365206
milestone55.0a1
Bug 1365206 - Remove Sun Studio compiler optimization flags for mozjemalloc. r?gps We don't support that compiler anymore.
memory/mozjemalloc/moz.build
--- a/memory/mozjemalloc/moz.build
+++ b/memory/mozjemalloc/moz.build
@@ -8,21 +8,16 @@ EXPORTS += [
     'mozjemalloc_types.h',
 ]
 
 SOURCES += [
     'mozjemalloc.cpp',
 ]
 FINAL_LIBRARY = 'memory'
 
-# See bug 422055.
-if CONFIG['OS_ARCH'] == 'SunOS' and not CONFIG['GNU_CC'] \
-        and CONFIG['MOZ_OPTIMIZE']:
-    CFLAGS += ['-xO5']
-
 DEFINES['MOZ_JEMALLOC_IMPL'] = True
 
 LOCAL_INCLUDES += [
     '/memory/build',
 ]
 
 if CONFIG['GNU_CXX']:
     # too many warnings from functions generated through rb_wrab from rb.h.