libsepol/tests: fix mispelling of optimization option
PATCH 1/1 libsepol/tests: fix mispelling of optimization option
In CFLAGS, -o0 means "output in file 0", not "compile at optimization level 0".
Signed-off-by Nicolas Iooss <[email protected]>
--- libsepol/tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libsepol/tests/Makefile +1 -1
@@ -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.
Signature · 1 line
2.10.0
Stephen Smalley
AppliedQuoted 4 lines · Nicolas Iooss
In CFLAGS, -o0 means "output in file 0", not "compile at optimization level 0".
Signed-off-by Nicolas Iooss <[email protected]>
Thanks, applied.
Quoted 18 lines
--- libsepol/tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)libsepol/tests/Makefile +1
-1@@ -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.