Commit df99320
Remove -specs=...redhat-hardened... from Perl options
Red Hat's ExtUtils::Embed returns CLAGS & LDFLAGS that produce a
PIE position-independent executable. However libhts.a and the rest
of bcftools's *.o files are not compiled as PIC, so linking fails
as these other objects use relocations that are invalid for PIE.
While bcftools could link against libhts.so and compile the rest of
its objects with -fpic, the logistics are non-trivial. So it's easier
to omit the redhat-hardened-cc1 and redhat-hardened-ld specs that set
up for building a PIE executable. Fixes #1322.1 parent 106f158 commit df99320
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
248 | 253 | | |
249 | 254 | | |
250 | 255 | | |
| |||
0 commit comments