Actions
Bug #5697
closedWrong flag for enabling PIE executables with clang
Description
=begin
When linking the ruby executable with clang I get the following warning:
$ make
[…]
linking ruby20
clang: warning: argument unused during compilation: '-pie'
[…]
In the Makefile ((|XLDFLAGS|)) should be (({-Wl,-pie})) not (({-pie}))
=end
Updated by kosaki (Motohiro KOSAKI) over 13 years ago
- Status changed from Open to Closed
- Assignee set to nobu (Nobuyoshi Nakada)
r33926.
Updated by kosaki (Motohiro KOSAKI) over 13 years ago
- Status changed from Closed to Open
Reopend. Because r33926 was reverted. gcc need -pie and clang need -Wl,-pie. So, we need more clever trick.
Updated by nobu (Nobuyoshi Nakada) about 13 years ago
- Status changed from Open to Closed
r33928 and r33929.
Updated by nobu (Nobuyoshi Nakada) about 13 years ago
- % Done changed from 0 to 100
Actions
Like0
Like0Like0Like0Like0