Compiling with gcc -march ix86

Justin C. Sherrill justin at shiningsilence.com
Sat Dec 25 19:21:15 PST 2010


On Fri, December 24, 2010 5:34 pm, Stephane Russell wrote:
> Hi,
>
> I'm actually trying to compile asterisk on DFBSD. It needs to compile
> with the compiler option -march=ix86, with x>3 (gcc spec). But DFBSD
> "uname -m" is returning systematically "i386". Is their a workaround for
> that, that would allow me to compile without hacking the autotools
> scripts?

You could set the environment variable UNAME_M to whatever you think would
work; I don't know if that would get picked up during the build process,
but it's worth a try.  I'm interested in seeing asterisk work.






More information about the Users mailing list