Ignore:
Timestamp:
Apr 22, 2007, 10:57:48 AM (18 years ago)
Author:
bird
Message:

Applied patch from Paul (aka Creeping).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/dev-lang/perl/hints/os2.sh

    r3187 r3188  
    2727case "X$optimize" in
    2828  X)
    29         optimize="-O2 -fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2 -s"
     29        optimize="-O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -s"
    3030        ld_dll_optimize="-s"
    3131        ;;
     
    147147
    148148aout_d_fork='define'
    149 aout_ccflags="-DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I. $_defemxcrtrev -D__ST_MT_ERRNO__"
    150 aout_cppflags="-DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I. $_defemxcrtrev -D__ST_MT_ERRNO__"
     149aout_ccflags="-DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev "
     150aout_cppflags="-DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev "
    151151aout_use_clib='c'
    152152aout_usedl='undef'
     
    177177    d_shrplib='define'
    178178    useshrplib='true'
    179     obj_ext='.obj'
     179    obj_ext='.o'
    180180    lib_ext='.lib'
    181181    ar='emxomfar'
     
    186186        d_fork='undef'
    187187    fi
    188     lddlflags="-Zdll -Zomf -Zmt -Zcrtdll -Zlinker /e:2"
     188    lddlflags="-Zdll -Zomf "
    189189    # Recursive regmatch may eat 2.5M of stack alone.
    190     ldflags='-Zexe -Zomf -Zmt -Zcrtdll -Zstack 32000 -Zlinker /e:2'
     190    ldflags='-Zexe -Zomf -Zstack 32000 '
    191191    if [ $emxcrtrev -ge 50 ]; then
    192192        ccflags="-Zomf -Zmt -DDOSISH -DOS2=2 -DEMBED -I. $_defemxcrtrev"
     
    218218
    219219# Test would pick up wrong rand, so we hardwire the value for random()
    220 libs='-lsocket -lm -lbsd'
     220libs='-lsocket'
    221221randbits=31
    222222archobjs="os2$obj_ext dl_os2$obj_ext"
     
    278278d_usleep='define'
    279279d_usleepproto='define'
     280
     281d_link='undef'
     282dont_use_nlink='define'
     283# no posix (aka hard) links for us!
    280284
    281285# The next two are commented. pdksh handles #!, extproc gives no path part.
Note: See TracChangeset for help on using the changeset viewer.