Browse Source

move the compiler flags WARNINGS option

Mike Frysinger 20 years ago
parent
commit
56f0e6a5df
2 changed files with 6 additions and 7 deletions
  1. 6 1
      extra/Configs/Config.in
  2. 0 6
      extra/Configs/Config.in.arch

+ 6 - 1
extra/Configs/Config.in

@@ -4,7 +4,6 @@
 #
 mainmenu "uClibc C Library Configuration"
 
-
 choice
 	prompt "Target Architecture"
 	default TARGET_i386
@@ -1311,6 +1310,12 @@ config UCLIBC_MALLOC_DEBUGGING
 	  Because this increases the size of malloc appreciably (due to strings
 	  etc), you should say N unless you need to debug a malloc problem.
 
+config WARNINGS
+	string "Compiler Warnings"
+	default "-Wall"
+	help
+	  Set this to the set of gcc warnings you wish to see while compiling.
+
 config UCLIBC_MJN3_ONLY
 	bool "Manuel's hidden warnings"
 	default n

+ 0 - 6
extra/Configs/Config.in.arch

@@ -80,12 +80,6 @@ config DO_C99_MATH
 	  If your applications require the newer C99 math library functions, 
 	  then answer Y.
 
-config WARNINGS
-	string "Compiler Warnings"
-	default "-Wall"
-	help
-	  Set this to the set of gcc warnings you wish to see while compiling.
-
 config KERNEL_SOURCE
 	string "Linux kernel header location"
 	default "/usr/src/linux"