Lines 1065-1070
Link Here
|
1065 |
if tc-ld-is-mold ; then |
1065 |
if tc-ld-is-mold ; then |
1066 |
# relr-elf-hack is currently broken with mold, bgo#916259 |
1066 |
# relr-elf-hack is currently broken with mold, bgo#916259 |
1067 |
mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack |
1067 |
mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack |
|
|
1068 |
elif is-ldflagq '-Wl,-z,pack-relative-relocs' ; then |
1069 |
#legacy forces use of elf-hack even if pack-relative-relocs is used bug #916405 |
1070 |
mozconfig_add_options_ac 'disable elf-hack bug with -Wl,-z,pack-relative-relocs' --disable-elf-hack |
1068 |
else |
1071 |
else |
1069 |
if use clang ; then |
1072 |
if use clang ; then |
1070 |
mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr |
1073 |
mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr |