Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 689358 | Differences between
and this patch

Collapse All | Expand All

(-)a/security/sandbox/linux/moz.build (-1 / +1 lines)
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

Return to bug 689358