On Fri, May 25, 2012 at 6:24 AM, Yves Arrouye <y...@arrouye.net> wrote:
> How can I do that? Just trying to pass arch flags in CFLAGS/LDFLAGS is
> not working:
>
> % make
> make  all-recursive
> Making all in libusb
>  CC     libusb_1_0_la-core.lo
> llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed with
> multiple -arch flags
>
> It does not help that the full command-line isn't displayed (how can I
> see that instead of the fake command lines here, by the way)... And I
> looked in configure --help for anything mentioning universal or arch
> and did not see anything. I'd rather not have to build twice and lipo
> everything together, and also am not sure what would then happen to
> the *.la etc. files that only knew about one arch.
>

If you use Homebrew, it is quite easy, just use "brew install libusb
--universal".
https://github.com/mxcl/homebrew/blob/master/Library/Formula/libusb.rb

But it still points to the old libusb-1.0.8. You can modify the formula
to point to 1.0.9 release. And you can also use
"brew install libusb --universal --HEAD" to install the
git version of libusb-1.0.

-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to