swift
e2255b6c - [5.8][CMake] Don't add an extraneous rpath to the swift-frontend (#66122)

Commit
2 years ago
[5.8][CMake] Don't add an extraneous rpath to the swift-frontend (#66122) Cherrypick of #64103 __Explanation__: The 5.8 release has an incorrect relative runpath added to the compiler on linux, the second one: ``` > readelf -d swift-5.8-RELEASE-ubuntu20.04/usr/bin/swift-frontend | ag runpath 0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/../lib/swift/linux:$ORIGIN/../../lib/swift/linux] This pull fixes that, removing a mild security risk when running the compiler. ``` __Scope__: Only affects the compiler runpath on linux __Issue__: None __Risk__: low, as it only removes an unused runpath for the linux compiler __Testing__: Passed all CI on trunk __Reviewer__: @edymtt
Author
Loading