Unix Technical Forum

Setting CFLAGS for kernel modules compiling

This is a discussion on Setting CFLAGS for kernel modules compiling within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I can edit /usr.src/linux/Makefile and change -O2 to -O0 or -O3, but this only changes kernel compile, mot modules ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 12:03 PM
Vardan Kushnir
 
Posts: n/a
Default Setting CFLAGS for kernel modules compiling




I can edit /usr.src/linux/Makefile and change -O2 to -O0 or -O3, but
this only changes kernel compile, mot modules compile. How do I set
this in modules?

Is required to search for and edit many makefiles, or is easier way?

I searched web and read many man, howto and info documents but my
english is perhaps not good enough for understanding.

I am Using Slackware 10.2 with kernel 2.4.31


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:23 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com