Messages in this thread | | | From | Keith Owens <> | Subject | Re: Compiling manually | Date | Mon, 12 Nov 2001 12:28:19 +1100 |
| |
On 11 Nov 2001 16:57:41 +0000, pocm@rnl.ist.utl.pt (Paulo J. Matos aka PDestroy) wrote: >I'm trying to compile kernel 2.4.14. >The problem is that the famous gcc 3.0.x bug of giving error when >trying to compile 8139too.c is getting me crazy. >The work around is to remove -O2 optimization. >How can I compile the kernel with optimization except >optimization for that particular file?
In drivers/net/Makefile, add this line _before_ include Rules.make.
CFLAGS_8139too.o += -O1
Warning: removing optimization can cause its own problems, some bits of the kernel assume that they are built with -O2. YMMV.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |