Message ID | 20160925143040.31378-1-nicolas.iooss@m4x.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On 09/25/2016 10:30 AM, Nicolas Iooss wrote: > In CFLAGS, -o0 means "output in file 0", not "compile at optimization > level 0". > > Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> Thanks, applied. > --- > libsepol/tests/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libsepol/tests/Makefile b/libsepol/tests/Makefile > index dd7bd333c58c..60b3e836cc94 100644 > --- a/libsepol/tests/Makefile > +++ b/libsepol/tests/Makefile > @@ -2,7 +2,7 @@ M4 ?= m4 > MKDIR ?= mkdir > EXE ?= libsepol-tests > > -CFLAGS += -g3 -gdwarf-2 -o0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -Werror > +CFLAGS += -g3 -gdwarf-2 -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -Werror > > # Statically link libsepol on the assumption that we are going to > # be testing internal functions. >
diff --git a/libsepol/tests/Makefile b/libsepol/tests/Makefile index dd7bd333c58c..60b3e836cc94 100644 --- a/libsepol/tests/Makefile +++ b/libsepol/tests/Makefile @@ -2,7 +2,7 @@ M4 ?= m4 MKDIR ?= mkdir EXE ?= libsepol-tests -CFLAGS += -g3 -gdwarf-2 -o0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -Werror +CFLAGS += -g3 -gdwarf-2 -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -Werror # Statically link libsepol on the assumption that we are going to # be testing internal functions.
In CFLAGS, -o0 means "output in file 0", not "compile at optimization level 0". Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- libsepol/tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)