ports/math/suitesparse/files/patch-CXSparse+Source+Makefile
Maho Nakata a86e0b5741 Workaround build failure of octave-devel for
amd64. Passing -fPIC even though we build static lib.
A correct fix for this might be building shared libs
too.

PR: 105058
2006-11-19 03:42:27 +00:00

11 lines
293 B
Text

--- CXSparse/Source/Makefile~ Sun Nov 19 11:43:12 2006
+++ CXSparse/Source/Makefile Sun Nov 19 11:43:48 2006
@@ -1,6 +1,6 @@
# Modify the "-O" optimization option for best performance (-O3 on Linux):
-CC = cc
-CFLAGS = -O
+CC = %%CC%%
+CFLAGS = %%CFLAGS%%
I = -I../../UFconfig
AR = ar cr