|
Jan Synacek |
1f6dfb |
From 8f6b442a78d0b485f044742ad90b2e8271b4e68e Mon Sep 17 00:00:00 2001
|
|
Jan Synacek |
1f6dfb |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Jan Synacek |
1f6dfb |
Date: Sun, 19 Aug 2018 19:11:30 +0200
|
|
Jan Synacek |
1f6dfb |
Subject: [PATCH] meson: rename -Ddebug to -Ddebug-extra
|
|
Jan Synacek |
1f6dfb |
|
|
Jan Synacek |
1f6dfb |
Meson added -Doptimization and -Ddebug options, which obviously causes
|
|
Jan Synacek |
1f6dfb |
a conflict with our -Ddebug options. Let's rename it.
|
|
Jan Synacek |
1f6dfb |
|
|
Jan Synacek |
1f6dfb |
Fixes #9883.
|
|
Jan Synacek |
1f6dfb |
---
|
|
Jan Synacek |
1f6dfb |
meson.build | 2 +-
|
|
Jan Synacek |
1f6dfb |
meson_options.txt | 2 +-
|
|
Jan Synacek |
1f6dfb |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Jan Synacek |
1f6dfb |
|
|
Jan Synacek |
1f6dfb |
diff --git a/meson.build b/meson.build
|
|
Jan Synacek |
1f6dfb |
index f79ac4b12..2209c935a 100644
|
|
Jan Synacek |
1f6dfb |
--- a/meson.build
|
|
Jan Synacek |
1f6dfb |
+++ b/meson.build
|
|
Jan Synacek |
1f6dfb |
@@ -763,7 +763,7 @@ substs.set('DEBUGTTY', get_option('debug-tty'))
|
|
Jan Synacek |
1f6dfb |
|
|
Jan Synacek |
1f6dfb |
enable_debug_hashmap = false
|
|
Jan Synacek |
1f6dfb |
enable_debug_mmap_cache = false
|
|
Jan Synacek |
1f6dfb |
-foreach name : get_option('debug')
|
|
Jan Synacek |
1f6dfb |
+foreach name : get_option('debug-extra')
|
|
Jan Synacek |
1f6dfb |
if name == 'hashmap'
|
|
Jan Synacek |
1f6dfb |
enable_debug_hashmap = true
|
|
Jan Synacek |
1f6dfb |
elif name == 'mmap-cache'
|
|
Jan Synacek |
1f6dfb |
diff --git a/meson_options.txt b/meson_options.txt
|
|
Jan Synacek |
1f6dfb |
index e3140c8c1..7b1f61bf4 100644
|
|
Jan Synacek |
1f6dfb |
--- a/meson_options.txt
|
|
Jan Synacek |
1f6dfb |
+++ b/meson_options.txt
|
|
Jan Synacek |
1f6dfb |
@@ -45,7 +45,7 @@ option('debug-shell', type : 'string', value : '/bin/sh',
|
|
Jan Synacek |
1f6dfb |
description : 'path to debug shell binary')
|
|
Jan Synacek |
1f6dfb |
option('debug-tty', type : 'string', value : '/dev/tty9',
|
|
Jan Synacek |
1f6dfb |
description : 'specify the tty device for debug shell')
|
|
Jan Synacek |
1f6dfb |
-option('debug', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
|
|
Jan Synacek |
1f6dfb |
+option('debug-extra', type : 'array', choices : ['hashmap', 'mmap-cache'], value : [],
|
|
Jan Synacek |
1f6dfb |
description : 'enable extra debugging')
|
|
Jan Synacek |
1f6dfb |
option('memory-accounting-default', type : 'boolean',
|
|
Jan Synacek |
1f6dfb |
description : 'enable MemoryAccounting= by default')
|
|
Jan Synacek |
1f6dfb |
--
|
|
Jan Synacek |
1f6dfb |
2.14.4
|
|
Jan Synacek |
1f6dfb |
|