25 lines
853 B
Diff
25 lines
853 B
Diff
|
diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
|
||
|
--- lp_solve_5.5.orig/lp_solve/ccc 2008-02-19 09:25:29.000000000 +0000
|
||
|
+++ lp_solve_5.5/lp_solve/ccc 2008-02-19 09:26:01.000000000 +0000
|
||
|
@@ -3,7 +3,7 @@
|
||
|
|
||
|
math=-lm
|
||
|
|
||
|
-opts='-O3'
|
||
|
+opts=$RPM_OPT_FLAGS
|
||
|
|
||
|
def=
|
||
|
if [ "$PLATFORM" = "SCO_UNIX" ]
|
||
|
diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
|
||
|
--- lp_solve_5.5.orig/lpsolve55/ccc 2008-02-19 09:25:29.000000000 +0000
|
||
|
+++ lp_solve_5.5/lpsolve55/ccc 2008-02-19 09:25:51.000000000 +0000
|
||
|
@@ -10,7 +10,7 @@
|
||
|
so=y
|
||
|
fi
|
||
|
|
||
|
-opts='-O3'
|
||
|
+opts=$RPM_OPT_FLAGS
|
||
|
|
||
|
$c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
|
||
|
ar rv liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
|