Lines 99-105
Link Here
|
99 |
# from the function using it which breaks the build. Work around that by |
99 |
# from the function using it which breaks the build. Work around that by |
100 |
# forcing there to be only one partition. |
100 |
# forcing there to be only one partition. |
101 |
for f in CONFIG['OS_CXXFLAGS']: |
101 |
for f in CONFIG['OS_CXXFLAGS']: |
102 |
if f.startswith('-flto') and CONFIG['CC_TYPE'] != 'clang': |
102 |
if (f.startswith('-flto') or CONFIG['MOZ_LTO']) and CONFIG['CC_TYPE'] != 'clang': |
103 |
LDFLAGS += ['--param', 'lto-partitions=1'] |
103 |
LDFLAGS += ['--param', 'lto-partitions=1'] |
104 |
|
104 |
|
105 |
DEFINES['NS_NO_XPCOM'] = True |
105 |
DEFINES['NS_NO_XPCOM'] = True |