X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=Makefile.real;h=f313b98a083368284c69d78576b279814decae2e;hb=e3643cb4802f4ec4bf2c520eeb827c4ad0bdec18;hp=b60c56984e4fd707378a3f462d2d522825de5f45;hpb=3d3a2f50a05501cf27f1155629799953f952bd4b;p=paraslash.git diff --git a/Makefile.real b/Makefile.real index b60c5698..f313b98a 100644 --- a/Makefile.real +++ b/Makefile.real @@ -18,7 +18,7 @@ uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") uname_rs := $(shell uname -rs) cc_version := $(shell $(CC) --version | head -n 1) GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) -COPYRIGHT_YEAR := 2017 +COPYRIGHT_YEAR := 2018 ifeq ("$(origin O)", "command line") build_dir := $(O) @@ -144,6 +144,7 @@ cc-option = $(shell \ ) STRICT_CFLAGS += $(call cc-option, -Wformat-signedness) +STRICT_CFLAGS += $(call cc-option, -Wdiscarded-qualifiers) # To put more focus on warnings, be less verbose as default # Use 'make V=1' to see the full commands @@ -190,7 +191,7 @@ $(object_dir)/spx%.o: CPPFLAGS += $(speex_cppflags) $(object_dir)/flac%.o: CPPFLAGS += $(flac_cppflags) $(object_dir)/mp3_afh.o: CPPFLAGS += $(id3tag_cppflags) -$(object_dir)/crypt.o: CPPFLAGS += $(openssl_cppflags) +$(object_dir)/openssl.o: CPPFLAGS += $(openssl_cppflags) $(object_dir)/gcrypt.o: CPPFLAGS += $(gcrypt_cppflags) $(object_dir)/ao_write.o: CPPFLAGS += $(ao_cppflags) $(object_dir)/alsa%.o: CPPFLAGS += $(alsa_cppflags)