Ticket #54125: patch-ltmain.sh.diff

File patch-ltmain.sh.diff, 789 bytes (added by RJVB (René Bertin), 8 years ago)
  • ltmain.sh

    old new func_mode_link () 
    58385838      # -tp=*                Portland pgcc target processor selection
    58395839      # --sysroot=*          for sysroot support
    58405840      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
     5841      # -stdlib=*            select c++ std lib with clang
    58415842      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
    58425843      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
    5843       -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
     5844      -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
    58445845        func_quote_for_eval "$arg"
    58455846        arg="$func_quote_for_eval_result"
    58465847        func_append compile_command " $arg"