gnu: symmetrica: Generate position-independent code.
* gnu/packages/algebra.scm (symmetrica): Add -fPIC compiler flag.master
parent
c68ec87ca7
commit
e6eafd4277
|
@ -1400,7 +1400,7 @@ by using an optimized quadratic sieve algorithm.")
|
||||||
(add-after 'unpack 'fix-makefile
|
(add-after 'unpack 'fix-makefile
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "makefile"
|
(substitute* "makefile"
|
||||||
(("cc -c") "gcc -c"))
|
(("cc -c") "gcc -c -fPIC"))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'fix-makefile 'turn-off-banner
|
(add-after 'fix-makefile 'turn-off-banner
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in New Issue