summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-03-24 11:35:52 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-03-24 12:07:28 +0100
commit5f4209de650cc8247a350f0c97c1897ddbc90125 (patch)
treed51abc067f96cbafc73558c93fbc9b966766d457 /etc
parented3dae4478b45229c80177122346985d6042c250 (diff)
downloadjustbuild-5f4209de650cc8247a350f0c97c1897ddbc90125.tar.gz
libgit2: Remove use of deprecated functions...
...and enforce this through the build description.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/CC/TARGETS.git27
1 files changed, 6 insertions, 1 deletions
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":