summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/make.conf10
-rw-r--r--share/examples/etc/make.conf10
2 files changed, 10 insertions, 10 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
index 0a085f4..c8aa58c 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 0a085f4..c8aa58c 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:
#
OpenPOWER on IntegriCloud