[gnome-todo] project: Use pie kwarg
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] project: Use pie kwarg
- Date: Tue, 25 Jun 2019 23:19:24 +0000 (UTC)
commit f2ce04bd02591880451f16c3cddceb4cd47ee3c3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jun 25 20:17:47 2019 -0300
project: Use pie kwarg
tests/meson.build | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 35e79b9..3e0d695 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -40,12 +40,9 @@ static_test_env = [
]
static_test_cflags = [
- '-fPIE',
'-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
]
-static_test_link_args = ['-fPIC']
-
static_tests = [
'test-model-filter',
'test-model-sort',
@@ -61,8 +58,8 @@ foreach static_test : static_tests
static_test,
source,
c_args : static_test_cflags,
- link_args : static_test_link_args,
dependencies : gnome_todo_deps,
+ pie : true,
link_with : tests_libs,
include_directories : tests_incs,
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]