Browse Source

fix varname, disable optimization flags for config

Waldemar Brodkorb 11 years ago
parent
commit
19ab53e7a3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      adk/config/Makefile
  2. 1 1
      scripts/scan-tools.sh

+ 1 - 1
adk/config/Makefile

@@ -6,7 +6,7 @@ include ${TOPDIR}/rules.mk
 endif
 
 CP=cp -fpR
-CFLAGS_FOR_BUILD:=-DKBUILD_NO_NLS -O2 -w
+CFLAGS_FOR_BUILD:=-DKBUILD_NO_NLS -O0 -g0 -w
 
 all: ncurses conf mconf
 

+ 1 - 1
scripts/scan-tools.sh

@@ -205,7 +205,7 @@ fi
 
 host_build_flex=0
 if ! which flex >/dev/null 2>&1; then
-	host_build_m4=1
+	host_build_flex=1
 fi
 
 host_build_m4=0