Hi,

I’m building boost using bjam on Solaris 10 using SunStudio 12.  The compiler gets an xarch=native flag from somewhere – stopping the application running on machine with older architectures, so I’d like to build with xarch=generic.  However I can’t see where xarch=native comes from in the build.  I’ve looked for the ‘-fast’ flag, xtarget and xchip also.

 

Does anyone know where this comes from and how to override it?

 

Thanks

Steve