Ticket #17284: patch-Wno-long-double.diff

File patch-Wno-long-double.diff, 3.0 KB (added by rgovostes@…, 16 years ago)

Patch to remove references to -Wno-long-double

  • configure

    diff -ur before/configure lp_solve_5.5/configure
     
    13571357  linux)
    13581358    CCSHARED="-fPIC";;
    13591359  apple-darwin)
    1360     DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME -Wno-long-double
     1360    DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME
    13611361    ;;
    13621362  OpenUNIX*|UnixWare*)
    13631363    DEF='-dy -DNOLONGLONG'
  • configure.ac

    diff -ur before/configure.ac lp_solve_5.5/configure.ac
     
    2121  linux)
    2222    CCSHARED="-fPIC";;
    2323  apple-darwin)
    24     DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME -Wno-long-double
     24    DEF=-ldl -idirafter /usr/include/sys -DINTEGERTIME
    2525    ;;
    2626  OpenUNIX*|UnixWare*)
    2727    DEF='-dy -DNOLONGLONG'
  • demo/ccc.osx

    diff -ur before/demo/ccc.osx lp_solve_5.5/demo/ccc.osx
     
    99else dl=-ldl
    1010fi
    1111
    12 opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
     12opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
    1313
    1414$c -I.. -I../bfp -I../bfp/bfp_etaPFI -I../colamd $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP $src -o demo $math $dl
  • lp_solve/ccc.osx

    diff -ur before/lp_solve/ccc.osx lp_solve_5.5/lp_solve/ccc.osx
     
    99else dl=-ldl
    1010fi
    1111
    12 opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
     12opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
    1313
    1414$c -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine $src -o lp_solve $math $dl
  • lpsolve55/ccc.osx

    diff -ur before/lpsolve55/ccc.osx lp_solve_5.5/lpsolve55/ccc.osx
     
    99     so=y
    1010fi
    1111
    12 opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
     12opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
    1313
    1414$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
    1515libtool -static -o liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`
  • lpsolve55/cccLUSOL.osx

    diff -ur before/lpsolve55/cccLUSOL.osx lp_solve_5.5/lpsolve55/cccLUSOL.osx
     
    99     so=y
    1010fi
    1111
    12 opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME -Wno-long-double'
     12opts='-idirafter /usr/include/sys -O3 -DINTEGERTIME'
    1313
    1414$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
    1515libtool -static -o liblpsolve55.a `echo $src|sed s/[.]c/.o/g|sed 's/[^ ]*\///g'`