Skip to content

Commit cefa21e

Browse files
committed
Bug 1867423 - Stop using -nopie. r=firefox-build-system-reviewers,sergesanspaille
Clang trunk removed its support in llvm/llvm-project#72578 and we were only using it because clang < 5 didn't support -no-pie. We don't support those versions anymore, so we can use -no-pie unconditionally now. Differential Revision: https://phabricator.services.mozilla.com/D195061
1 parent 3f73215 commit cefa21e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

browser/app/no-pie/moz.build

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,4 @@ CFLAGS += [
1717

1818
# Use OS_LIBS instead of LDFLAGS to "force" the flag to come after -pie
1919
# from MOZ_PROGRAM_LDFLAGS.
20-
if CONFIG["CC_TYPE"] == "clang":
21-
# clang < 5.0 doesn't support -no-pie.
22-
OS_LIBS += ["-nopie"]
23-
else:
24-
OS_LIBS += ["-no-pie"]
20+
OS_LIBS += ["-no-pie"]

0 commit comments

Comments
 (0)