Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 618392
Collapse All | Expand All

(-)a/mozilla/ipc/app/moz.build (-1 / +1 lines)
Lines 85-91 Link Here
85
    # from the function using it which breaks the build.  Work around that by
85
    # from the function using it which breaks the build.  Work around that by
86
    # forcing there to be only one partition.
86
    # forcing there to be only one partition.
87
    if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
87
    if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
88
        LDFLAGS += ['--param lto-partitions=1']
88
        LDFLAGS += ['--lto-partition=one']
89
89
90
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_TARGET'] == 'Darwin':
90
if CONFIG['MOZ_SANDBOX'] and CONFIG['OS_TARGET'] == 'Darwin':
91
    # For sandbox includes and the include dependencies those have
91
    # For sandbox includes and the include dependencies those have
(-)a/mozilla/ipc/app/pie/moz.build (-1 / +1 lines)
Lines 25-31 Link Here
25
    # from the function using it which breaks the build.  Work around that by
25
    # from the function using it which breaks the build.  Work around that by
26
    # forcing there to be only one partition.
26
    # forcing there to be only one partition.
27
    if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
27
    if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
28
	LDFLAGS += ['--param lto-partitions=1']
28
	LDFLAGS += ['--lto-partition=one']
29
29
30
LDFLAGS += ['-pie']
30
LDFLAGS += ['-pie']
31
31
(-)a/mozilla/security/sandbox/linux/moz.build (-1 / +1 lines)
Lines 79-85 Link Here
79
# from the function using it which breaks the build.  Work around that by
79
# from the function using it which breaks the build.  Work around that by
80
# forcing there to be only one partition.
80
# forcing there to be only one partition.
81
if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
81
if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
82
    LDFLAGS += ['--param lto-partitions=1']
82
    LDFLAGS += ['--lto-partition=one']
83
83
84
DEFINES['NS_NO_XPCOM'] = True
84
DEFINES['NS_NO_XPCOM'] = True
85
DISABLE_STL_WRAPPING = True
85
DISABLE_STL_WRAPPING = True

Return to bug 618392