From: Nobuyoshi Nakada Date: 2012-01-16T23:04:06+09:00 Subject: [ruby-core:42151] [ruby-trunk - Bug #5697][Closed] Wrong flag for enabling PIE executables with clang Issue #5697 has been updated by Nobuyoshi Nakada. Status changed from Open to Closed r33928 and r33929. ---------------------------------------- Bug #5697: Wrong flag for enabling PIE executables with clang https://bugs.ruby-lang.org/issues/5697 Author: Eric Hodel Status: Closed Priority: Normal Assignee: Nobuyoshi Nakada 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://bugs.ruby-lang.org/