928098
diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
928098
--- lp_solve_5.5.orig/lp_solve/ccc	2009-02-23 16:31:18.000000000 +0000
928098
+++ lp_solve_5.5/lp_solve/ccc	2009-02-23 16:31:29.000000000 +0000
928098
@@ -28,7 +28,7 @@
928098
 fi
928098
 rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
928098
 
928098
-opts='-O3'
928098
+opts=$RPM_OPT_FLAGS
928098
 
928098
 def=
928098
 if [ "$PLATFORM" = "SCO_UNIX" ]
928098
diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
928098
--- lp_solve_5.5.orig/lpsolve55/ccc	2009-02-23 16:31:18.000000000 +0000
928098
+++ lp_solve_5.5/lpsolve55/ccc	2009-02-23 16:31:29.000000000 +0000
928098
@@ -35,7 +35,7 @@
928098
      so=y
928098
 fi
928098
 
928098
-opts='-O3'
928098
+opts=$RPM_OPT_FLAGS
928098
 
928098
 $c -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd $opts $def $NOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src
928098
 ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`