[libc++] Patch for AIX port
Joerg Sonnenberger
joerg at britannica.bec.de
Thu Aug 15 04:20:07 PDT 2013
On Tue, Aug 13, 2013 at 08:59:13PM -0400, Howard Hinnant wrote:
> diff -ruN libcxx.orig/lib/buildit libcxx/lib/buildit
> --- libcxx.orig/lib/buildit 2013-08-13 15:51:00.510247093 -0400
> +++ libcxx/lib/buildit 2013-08-12 17:45:00.180244845 -0400
> @@ -136,13 +153,23 @@
> ;;
> *-*-mingw*)
> ;;
> + *-ibm-*)
> + if [ $hostOS == "linux" ]
> + then
> + rm -f libc++.so
> + ln -s libc++.so.1.0 libc++.so
> + else #AIX
> + rm -f libc++.a
> + ar r libc++.a shr.o
> + fi
> + ;;
> *)
> rm -f libc++.so
> - ln -s libc++.so.1 libc++.so
> + ln -s libc++.so.1.0 libc++.so
> ;;
> esac
Why is this matching the vendor at all?
Joerg
More information about the cfe-commits
mailing list