mirror of
https://github.com/google/brotli.git
synced 2024-11-09 21:50:07 +00:00
501cb86172
While there, add -Wmissing-prototypes and -Wmissing-declarations to shared.mk in order to catch similar errors in the future. Signed-off-by: Piotr Sikora <piotrsikora@google.com>
14 lines
263 B
Makefile
14 lines
263 B
Makefile
OS := $(shell uname)
|
|
|
|
CC ?= gcc
|
|
CXX ?= g++
|
|
|
|
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes -O2
|
|
|
|
ifeq ($(OS), Darwin)
|
|
CPPFLAGS += -DOS_MACOSX
|
|
endif
|
|
|
|
CFLAGS += $(COMMON_FLAGS) -Wmissing-prototypes
|
|
CXXFLAGS += $(COMMON_FLAGS) -Wmissing-declarations
|