From: Eric Hodel Date: 2011-12-02T07:42:34+09:00 Subject: [ruby-core:41438] [ruby-trunk - Bug #5697][Open] Wrong flag for enabling PIE executables with clang Issue #5697 has been reported by Eric Hodel. ---------------------------------------- Bug #5697: Wrong flag for enabling PIE executables with clang http://redmine.ruby-lang.org/issues/5697 Author: Eric Hodel Status: Open Priority: Normal Assignee: Category: core Target version: ruby -v: trunk =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 -- http://redmine.ruby-lang.org