aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2020-03-01 00:08:25 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-01 00:08:25 +0000
commitb4c7844c60a5cdf680baeebb425e2c4e199878fd (patch)
tree9c5fc2963abe1478f4e8a695bf48a27dea38c8e3
parent556df6f6b3147d7f5a514ee18d406bb39dac8bfc (diff)
parent73af097db58528a3b8b9b69af035786eb3724ae3 (diff)
downloadplatform_external_one-true-awk-android11-tests-release.tar.gz
platform_external_one-true-awk-android11-tests-release.tar.bz2
platform_external_one-true-awk-android11-tests-release.zip
Change-Id: Id16ecc01fa67a5c39adff379453cb25dc0036b4a
-rw-r--r--lex.c2
-rw-r--r--makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 1c23212..81d1cc2 100644
--- a/lex.c
+++ b/lex.c
@@ -30,7 +30,7 @@ THIS SOFTWARE.
#include "ytab.h"
extern YYSTYPE yylval;
-extern int infunc;
+extern bool infunc;
int lineno = 1;
int bracecnt = 0;
diff --git a/makefile b/makefile
index 735436c..95aee3e 100644
--- a/makefile
+++ b/makefile
@@ -22,6 +22,7 @@
# THIS SOFTWARE.
# ****************************************************************/
+CFLAGS = -fsanitize=address -O1 -g -fno-omit-frame-pointer -fno-optimize-sibling-calls
CFLAGS = -g
CFLAGS =
CFLAGS = -O2