]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
openssl: Deactivate openssl-3 warnings for now.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 22 Nov 2021 18:41:20 +0000 (19:41 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 29 Oct 2022 18:35:44 +0000 (20:35 +0200)
openssl-3 depreciated a bunch of functions we are using in openssl.c,
but the suggested alternatives are not available in older versions
of the openssl library. This makes a smooth transition harder than
necessary. Suppress the warnings for now.

Makefile.real

index bf3cb6e0ff0616f3618c778c11731651d9a4151c..dc658fe1b65747e66407e2f3f67f3b929f256d13 100644 (file)
@@ -221,7 +221,9 @@ $(call OD, afs aft attribute blob mood playlist score server vss command \
        CPPFLAGS += $(osl_cppflags)
 
 $(call OD, compress_filter): CFLAGS += -O3
+$(call OD, openssl): CFLAGS += -Wno-deprecated-declarations
 
+$(object_dir)/%.o: %.c | $(object_dir) $(dep_dir) $(lsg_h) $(yy_h)
 define CC_CMD
        $(call SAY, CC $<)
        $(CC) -c -o $(object_dir)/$(*F).o -MMD -MF \