Re: altering CFLAGS in kbuild (makefile)?

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

 



On Sun, Jul 23, 2006 at 01:14:36PM +0200, Johannes Weiner wrote:
> Hi,
> 
> On Sun, Jul 23, 2006 at 12:16:35PM +0200, Adrian Bunk wrote:
> > > make CFLAGS="-your-flags" V=1
> > This doesn't work (try it out if you don't believe me).
> 
> [~/devel/linux-2.6] :) make CFLAGS="-your-flags" V=1 1> /dev/null
> i686-pc-linux-gnu-gcc: unrecognized option '-your-flags'
> 
> Sure, you should substitute -your-flags to known compiler flags. :P

That's not the point.

You are replacing required flags.

Try
 make CFLAGS="-O3" V=1

> Hannes

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux