Project

General

Profile

Actions

Bug #5697

closed

Wrong flag for enabling PIE executables with clang

Added by drbrain (Eric Hodel) over 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
-
ruby -v:
trunk
Backport:
[ruby-core:41438]

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0