[libc++] Patch for AIX port

Howard Hinnant hhinnant at apple.com
Thu Aug 15 07:51:08 PDT 2013


On Aug 15, 2013, at 7:20 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:

> 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?

I can speak for -apple-:

Because that's the way I need it built and it isn't what others need.

Howard




More information about the cfe-commits mailing list