summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--adk/config/Makefile2
-rw-r--r--scripts/scan-tools.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/adk/config/Makefile b/adk/config/Makefile
index 9dc08d3ac..c0087a28e 100644
--- a/adk/config/Makefile
+++ b/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
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index df018c7a9..23bc9770d 100644
--- a/scripts/scan-tools.sh
+++ b/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