goto the directory... edit the Makefile
add a line:
CFLAGS_page_alloc.o = -O0
this line disables any optimization for the given file (page_alloc.c in this case)
add a line:
CFLAGS_page_alloc.o = -O0
this line disables any optimization for the given file (page_alloc.c in this case)
Hi..
ReplyDeleteIs there a way to disable optimization for an entire module?
Not possible.
ReplyDeleteSee http://www.stlinux.com/devel/debug/jtag/build
Thanks Terry ;)
Delete