void-packages/srcpkgs/harfbuzz/patches/1846fb84d602bafd260479165b0...

23 lines
728 B
Diff

From 1846fb84d602bafd260479165b03fa8b7500166f Mon Sep 17 00:00:00 2001
From: Duncan Overbruck <mail@duncano.de>
Date: Thu, 21 Sep 2023 15:41:09 +0200
Subject: [PATCH] [meson] keep asserts in test programs
---
src/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/meson.build b/src/meson.build
index d6c353e133e..5401e5df6e9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -712,7 +712,7 @@ if get_option('tests').enabled()
foreach name, source : noinst_programs
executable(name, source,
include_directories: incconfig,
- cpp_args: cpp_args,
+ cpp_args: cpp_args + ['-UNDEBUG'],
dependencies: libharfbuzz_dep,
install: false,
)