Ticket #32982: ltmain.m4sh-allow-clang-stdlib.diff

File ltmain.m4sh-allow-clang-stdlib.diff, 804 bytes (added by titus@…, 12 years ago)

patch for ltmain.m4sh

  • libltdl/config/ltmain.m4sh

    old new  
    50645064      # -tp=*                Portland pgcc target processor selection
    50655065      # --sysroot=*          for sysroot support
    50665066      # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
     5067      # -stdlib=*            select c++ std lib with clang
    50675068      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
    50685069      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
    5069       -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
     5070      -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
    50705071        func_quote_for_eval "$arg"
    50715072        arg="$func_quote_for_eval_result"
    50725073        func_append compile_command " $arg"