Question about CFLAGS

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

 



Hi all,

I'm modifying a configure script in order to get things compiled in my
platform. Well, the thing is that I have a GCC compiler that generates
natively 32-bit objects, but as I'm running a biarch (64-bit kernel with
32-bit userspace), I'm trying to compile the program for 64-bit
environments using the '-m64' flag.

My question is about the CFLAGS variable. What should be the standard
behaviour when I provide my own CFLAGS (in this case, '-m64') for
configure script? Should it override its own CFLAGS and use only mine,
or should it append my CFLAGS to its CFLAGS, using a combination of
both?

Thanks,

-- 
Sérgio Durigan Júnior
Linux on Power Toolchain - Software Engineer
Linux Technology Center - LTC
IBM Brazil



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux