Commit 24cf97dc authored by Lev Walkin's avatar Lev Walkin

-fsanitize=undefined does not work with -O0

parent cb4eddbe
...@@ -66,7 +66,7 @@ cat <<TARGETS > "${testdir}/Makefile.targets" ...@@ -66,7 +66,7 @@ cat <<TARGETS > "${testdir}/Makefile.targets"
${AUTOGENERATED} ${AUTOGENERATED}
COMMON_FLAGS= -I. COMMON_FLAGS= -I.
CFLAGS = \${COMMON_FLAGS} ${CFLAGS:-} -g -O0 CFLAGS = \${COMMON_FLAGS} ${CFLAGS:-} -g -O1
CFLAGS += -DSRCDIR=../${srcdir} ${CODECS_FLAGS} CFLAGS += -DSRCDIR=../${srcdir} ${CODECS_FLAGS}
CXXFLAGS = \${COMMON_FLAGS} ${CXXFLAGS} CXXFLAGS = \${COMMON_FLAGS} ${CXXFLAGS}
LDFLAGS = ${LDFLAGS:-} LDFLAGS = ${LDFLAGS:-}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment