EddyRivasLab / hmmer

HMMER: biological sequence analysis using profile HMMs
http://hmmer.org
Other
317 stars 70 forks source link

Fix Makefile not using PIC_CFLAGS when building platform-specific code #209

Closed althonos closed 4 years ago

althonos commented 4 years ago

Hi!

I got some relocation error at the linking stage while playing around with the code, and then noticed that the platform-specific code in impl-sse and impl-vmx was not built with -fPIC even after configuring with ./configure --enable-PIC. Turns out both Makefile.in were not taking ${PIC_CFLAGS} into account while compiling, so I fixed that in this PR.

cryptogenomicon commented 4 years ago

Terrific, thank you!