Opened 9 years ago

Last modified 8 years ago

#5305 new Enhancement

Add support for -fPIE and -pie flags

Reported by: tipper Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.77
Severity: Normal Keywords: patch-needed


AFAIK, the Transmission configure script does not address the fact that -fPIE and -pie flags must be applied "surgically". Is it possible for these flags to be detected by the configure script and applied only where appropriate ?

"The fPIE flag can only be passed to executables, not libraries."

" add gcc -pie -fpie on program executables. fPIE must be added surgically..."

Change History (2)

comment:1 Changed 9 years ago by jordan

  • Keywords patch_needed added

If someone wants to cook up a patch for this, and if the patch is good, I'd be inclined to use it.

Some cursory Googling turned up which looks like a good starting point to copy from.

comment:2 Changed 8 years ago by mike.dld

  • Keywords patch-needed added; patch_needed removed
Note: See TracTickets for help on using tickets.