State that using optimization level above -O for kernel builds isn't smart.
This commit is contained in:
parent
8e9f33e1ce
commit
ef3e62ce27
@ -36,7 +36,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
#
|
||||
# To compile just the kernel with special optimisations, you should use
|
||||
# this instead of CFLAGS (which is not applicable to kernel builds anyway):
|
||||
# this instead of CFLAGS (which is not applicable to kernel builds anyway).
|
||||
# There is very little to gain by using higher optimization levels, and doing
|
||||
# so can cause problems.
|
||||
#
|
||||
#COPTFLAGS= -O -pipe
|
||||
#
|
||||
|
@ -36,7 +36,9 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
#
|
||||
# To compile just the kernel with special optimisations, you should use
|
||||
# this instead of CFLAGS (which is not applicable to kernel builds anyway):
|
||||
# this instead of CFLAGS (which is not applicable to kernel builds anyway).
|
||||
# There is very little to gain by using higher optimization levels, and doing
|
||||
# so can cause problems.
|
||||
#
|
||||
#COPTFLAGS= -O -pipe
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user