소스 검색

Added -O flag for proper uninitialized check.

Ioannis Koutras 14 년 전
부모
커밋
5b34d8a991
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      Makefile

+ 1 - 2
Makefile

@@ -1,10 +1,9 @@
 CC=gcc
-
 WARNINGS := -Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align \
 	          -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations \
 	          -Wredundant-decls -Wnested-externs -Winline -Wno-long-long \
 	          -Wuninitialized -Wconversion -Wstrict-prototypes
-CFLAGS := -g -std=c99 $(WARNINGS)
+CFLAGS := -g -O -std=c99 $(WARNINGS)
 
 OBJ = posix_lock.o other.o LeaHeader.o sys_alloc.o dmm_init.o test.o