From 3a77147b9436a9e09ddac6a44b874fa872fdfe27 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sat, 2 Sep 2000 22:43:18 +0000 Subject: [PATCH] Move the kernel's "cflags" to be next to the world ones. --- etc/defaults/make.conf | 10 +++++----- share/examples/etc/make.conf | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 0a085f4d69a..c8aa58c1713 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -35,6 +35,11 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -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): +# +#COPTFLAGS= -O -pipe +# # Avoid compiling profiled libraries #NOPROFILE= true # @@ -99,11 +104,6 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # To avoid running MAKEDEV all on /dev during install: #NO_MAKEDEV= true # -# To compile just the kernel with special optimisations, you should use -# this instead of CFLAGS (which is not applicable to kernel builds anyway): -# -#COPTFLAGS= -O -pipe -# # If you do not want unformatted manual pages to be compressed # when they are installed: # diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf index 0a085f4d69a..c8aa58c1713 100644 --- a/share/examples/etc/make.conf +++ b/share/examples/etc/make.conf @@ -35,6 +35,11 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -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): +# +#COPTFLAGS= -O -pipe +# # Avoid compiling profiled libraries #NOPROFILE= true # @@ -99,11 +104,6 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ # To avoid running MAKEDEV all on /dev during install: #NO_MAKEDEV= true # -# To compile just the kernel with special optimisations, you should use -# this instead of CFLAGS (which is not applicable to kernel builds anyway): -# -#COPTFLAGS= -O -pipe -# # If you do not want unformatted manual pages to be compressed # when they are installed: # -- 2.45.2