Bug 1891452 - Port Bug 1867423: Change -nopie flag to -no-pie for Clang 18. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D210720 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a1a56ee0fa
Коммит
cdce77cb19
|
@ -17,8 +17,6 @@ CFLAGS += [
|
|||
|
||||
# Use OS_LIBS instead of LDFLAGS to "force" the flag to come after -pie
|
||||
# from MOZ_PROGRAM_LDFLAGS.
|
||||
if CONFIG["CC_TYPE"] == "clang":
|
||||
# clang < 5.0 doesn't support -no-pie.
|
||||
OS_LIBS += ["-nopie"]
|
||||
else:
|
||||
OS_LIBS += ["-no-pie"]
|
||||
OS_LIBS += [
|
||||
"-no-pie",
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче