summaryrefslogtreecommitdiff
path: root/lpsolve/cflags.patch
blob: 8e8804cb8c4fb0b378f23f768bffae0366fb1f49 (plain)
    1 diff -ru lp_solve_5.5.orig/lp_solve/ccc lp_solve_5.5/lp_solve/ccc
    2 --- lp_solve_5.5.orig/lp_solve/ccc	2009-02-23 16:31:18.000000000 +0000
    3 +++ lp_solve_5.5/lp_solve/ccc	2009-02-23 16:31:29.000000000 +0000
    4 @@ -28,7 +28,7 @@
    5  fi
    6  rm /tmp/isnan.c /tmp/isnan >/dev/null 2>&1
    7  
    8 -opts='-O3'
    9 +opts=$CFLAGS
   10  
   11  def=
   12  if [ "$PLATFORM" = "SCO_UNIX" ]
   13 diff -ru lp_solve_5.5.orig/lpsolve55/ccc lp_solve_5.5/lpsolve55/ccc
   14 --- lp_solve_5.5.orig/lpsolve55/ccc	2009-02-23 16:31:18.000000000 +0000
   15 +++ lp_solve_5.5/lpsolve55/ccc	2009-02-23 16:31:29.000000000 +0000
   16 @@ -35,7 +35,7 @@
   17       so=y
   18  fi
   19  
   20 -opts='-O3'
   21 +opts=$CFLAGS
   22  
   23  $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
   24  ar rv bin/$PLATFORM/liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`

Generated by cgit