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

Re: Compiling source code with my own flags



On Mon, Jun 28, 2010 at 03:07:53PM -0400, Tomasz Maluszycki wrote:
> I would like to compile packages for my laptop by myself, and I'm
> tired of changing options in makefile by hand. Maybe is there way to
> add them by these configure scripts? If I remember correctly packages
> are built against i386 architecture, and for me it is waste of my CPU
> capabilities;
> 
> for example: instead of ' -g -O ' I would like to have ' -O3
> -std-gnu99 -m128bit-long-double -m64 -mssse3 -mfpmath=sse -march=core2
> '

  ./configure CFLAGS="whatever"

Or:

  CFLAGS="whatever" ./configure

See: ./configure --help

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
tzafrir@debian.org    |                    | friend


Reply to: