summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-06-25 20:17:47 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-06-25 20:19:01 -0300
commitf2ce04bd02591880451f16c3cddceb4cd47ee3c3 (patch)
tree88d546199e859bd27d0417201c5b964e17912b76 /tests
parentf3689936740454775aa402a130bda97988e9d2b3 (diff)
downloadgnome-todo-f2ce04bd02591880451f16c3cddceb4cd47ee3c3.tar.gz
project: Use pie kwarg
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 35e79b99..3e0d6959 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,
)