ref: 2a885ca461b65deb82958bd6a71f74b1200594d7
parent: 37e1c293e51b40f24f0a07c21cdfb9bf8d2ae451
author: Licai Guo <[email protected]>
date: Tue Mar 18 19:04:33 EDT 2014
disable most warnings produced by -Wall
--- a/build/platform-linux.mk
+++ b/build/platform-linux.mk
@@ -1,6 +1,6 @@
include build/platform-arch.mk
SHAREDLIBSUFFIX = so
-CFLAGS += -Wall -fPIC -DLINUX -DMT_ENABLED -MMD -MP
+CFLAGS += -Wall -fno-strict-aliasing -Wno-sign-compare -Wno-missing-braces -fPIC -DLINUX -DMT_ENABLED -MMD -MP
LDFLAGS += -lpthread
ifeq ($(ASM_ARCH), x86)
ifeq ($(ENABLE64BIT), Yes)