mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
commit
834334f2c2
@ -46,6 +46,8 @@ while (( "$n" < "$nParams" )); do
|
||||
-nostdinc) cInclude=0 cxxInclude=0 ;;
|
||||
-nostdinc++) cxxInclude=0 ;;
|
||||
-nostdlib) cxxLibrary=0 ;;
|
||||
-x*-header) dontLink=1 ;; # both `-x c-header` and `-xc-header` are accepted by clang
|
||||
-xc++*) isCxx=1 ;; # both `-xc++` and `-x c++` are accepted by clang
|
||||
-x)
|
||||
case "$p2" in
|
||||
*-header) dontLink=1 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user