summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-24 15:01:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-24 22:47:47 +0200
commit19ab53e7a340aa3085e9bc7a5e1957237f7019aa (patch)
tree507678bc0aea82384254a38f08e49abb76f5052e
parent56b4873f0feba3013f8ffc5ae119165322c3e33d (diff)
fix varname, disable optimization flags for config
-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