Since the object files get built into a shared lib, using -fPIC on all arches is the right thing to do, instead of adding it to each new arch that comes along which doesn't accidentally allow non-PIC modules in shared libs.
This fixes PR 207324
Differential D5362
Use -fPIC on all arches; lua builds the object files into a shared lib. • ian on Feb 20 2016, 3:49 AM. Authored by Tags None Referenced Files
Subscribers None
Details Since the object files get built into a shared lib, using -fPIC on all arches is the right thing to do, instead of adding it to each new arch that comes along which doesn't accidentally allow non-PIC modules in shared libs. This fixes PR 207324 Build- and run-tested on i386, amd64, arm, armv6.
Diff Detail
|