Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Cross-building on Mac OS X with -isysroot



Greetings,

I am cross-buildling NetBSD on Mac OS X with -isysroot in HOST_CPPFLAGS, but 
nbhost-mkdep does not understand -isysroot flag. I would like to have the 
following patch applied:

diff -u -r1.18 host-mkdep.in
--- tools/host-mkdep/host-mkdep.in      20 Feb 2010 15:04:03 -0000      1.18
+++ tools/host-mkdep/host-mkdep.in      14 Nov 2010 07:05:16 -0000
@@ -148,7 +148,7 @@
                                cppargs=${cppargs%x}
                                ;;
 
-               -[IDU]|-include|-isystem)
+               -[IDU]|-include|-isystem|-isysroot)
                                set -- "$@" "$1" "$2"
                                shift 2
                                cppargs=${cppargs%xx}

Okay to commit?

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index