compnerd added a comment.

-gnu implies GLIBC.  Traditionally, -uclibc is used instead of -gnu for uclibc 
environments, and many (most?) Linux distros use -musl to indicate a MUSL 
environment.  For Android, the environment is -android, and thus, assumed to be 
bionic.  If the OS is BSD, usually, the assumption is that it is using the BSD 
libc.  I guess that we can disable this for Linux, but I think that this would 
be useful to have for non-Windows environments, particularly Android, where you 
do have differences between versions (IIRC L fixed issues with PIC).


Repository:
  rL LLVM

http://reviews.llvm.org/D7642



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to