From f0db718ac7579f5ae6012757a06e3ba966cbfc7b Mon Sep 17 00:00:00 2001 From: sdong Date: Thu, 31 Oct 2019 14:42:34 -0700 Subject: [PATCH] Disable warning as error --- Makefile | 1 - build_tools/fbcode_config.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/Makefile b/Makefile index adbeb7b51..b7e9203f6 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,6 @@ install: @[ ! -e $(SHARED) ] || install -C -m 644 $(SHARED) $(INSTALL_PATH)/lib #------------------------------------------------- -WARNING_FLAGS = -Wall -Wsign-compare CFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CCFLAGS) $(OPT) CXXFLAGS += $(WARNING_FLAGS) -I. -I./include $(PLATFORM_CXXFLAGS) $(OPT) -Woverloaded-virtual diff --git a/build_tools/fbcode_config.sh b/build_tools/fbcode_config.sh index a6df2ad8e..16814d32d 100644 --- a/build_tools/fbcode_config.sh +++ b/build_tools/fbcode_config.sh @@ -48,7 +48,6 @@ if test -z $PIC_BUILD; then ZSTD_LIBS=" $ZSTD_BASE/lib/libzstd.a" CFLAGS+=" -DZSTD" fi -CFLAGS+=" -DZSTD" # location of gflags headers and libraries GFLAGS_INCLUDE=" -I $GFLAGS_BASE/include/"