From 5f4209de650cc8247a350f0c97c1897ddbc90125 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 24 Mar 2023 11:35:52 +0100 Subject: libgit2: Remove use of deprecated functions... ...and enforce this through the build description. --- etc/defaults/CC/TARGETS.git2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'etc/defaults') diff --git a/etc/defaults/CC/TARGETS.git2 b/etc/defaults/CC/TARGETS.git2 index 7708eb78..595cee1f 100644 --- a/etc/defaults/CC/TARGETS.git2 +++ b/etc/defaults/CC/TARGETS.git2 @@ -32,7 +32,12 @@ , "default": { "type": "++" , "$1": - [ ["-std=gnu90", "-D_GNU_SOURCE", "-Wall", "-Wextra"] + [ [ "-std=gnu90" + , "-D_GNU_SOURCE" + , "-Wall" + , "-Wextra" + , "-DGIT_DEPRECATE_HARD" + ] , { "type": "case" , "expr": {"type": "var", "name": "OS"} , "case": -- cgit v1.2.3