On Monday, 11 September 2006 11:57, Stefan Seyfried wrote: > On Mon, Sep 11, 2006 at 11:39:46AM +0200, Pavel Machek wrote: > > Hi! > > > > > I need to pass CFLAGS to make. First i tried just passing CC_FLAGS > > > instead, > > > but then CONFIG_COMPRESS and CONFIG_ENCRYPT did no longer work (always > > > CC_FLAGS from the make commandline were used). So i came up with this and > > > can now do (for example): > > > > > > make CONFIG_COMPRESS=yes CFLAGS="-O2 -march=i586 -mtune=i686 > > > -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2" > > > > > > (oh, the _FORTIFY_SOURCE=2 throws scary warnings btw, somebody should > > > fix these, i suppose). > > > > Can you post warnings to the list? > > Yes, in a separate thread. > > > > I also tried to make the use and ordering of "-c" and "-o" to $(CC) a bit > > > more consistent throughout the Makefile. > > > > > Any objections? > > > > Patch looks okay to me. > > Ok, i'll wait for Rafaels ACK before applying (note that i also added default > "-O2" to all files, some were only compiled with "-Wall" but without -O2).
Please apply. If anything breaks because of that, we'll take care of it later. -- You never change things by fighting the existing reality. R. Buckminster Fuller ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel