1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Do not link against libm.
This was required by upstream because they are also building libsvm
which would require libm. It is redundant for Debian because we
patch out the vendorised libsvm and use Debian's system-wide libsvm.
Forwarded: not-needed
Author: Carnë Draug <carandraug+dev@gmail.com>
Last-Update: 2017-04-19
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -15,7 +15,7 @@
(ABSTRACT_FROM => 'lib/Algorithm/SVM.pm',
AUTHOR => 'Matthew Laird <matt@brinkman.mbb.sfu.ca>') : ()),
'OPTIMIZE' => '-O3', # segfaults with gcc 2.96 if lower (?)
- 'LIBS' => '-lm -lsvm',
+ 'LIBS' => '-lsvm',
'CC' => $CC,
'LD' => '$(CC)',
'OBJECT' => 'SVM.o bindings.o',
|