summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2019-12-20 22:24:30 -0800
committerPatrick Griffis <tingping@tingping.se>2019-12-20 22:24:30 -0800
commiteeada79a64b7188f2f820cd45328cf2daa20f9e2 (patch)
treeab822b2fb8db7d07dcf588b66b7176160460160e /src
parent202393a77c4f73234949e000001ac1a346695121 (diff)
build: Fix some meson warnings
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/meson.build9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/fe-gtk/meson.build b/src/fe-gtk/meson.build
index f11580bb..1fe741ee 100644
--- a/src/fe-gtk/meson.build
+++ b/src/fe-gtk/meson.build
@@ -39,13 +39,9 @@ if gtk_dep.get_pkgconfig_variable('target') == 'x11'
   hexchat_gtk_deps += dependency('x11')
 endif
 
-hexchat_gtk_cflags = [
-  '-fPIE'
-]
+hexchat_gtk_cflags = []
 
-hexchat_gtk_ldflags = [
-  '-pie'
-]
+hexchat_gtk_ldflags = []
 
 if get_option('with-libnotify')
   hexchat_gtk_sources += 'notifications/notification-libnotify.c'
@@ -89,6 +85,7 @@ executable('hexchat',
   dependencies: hexchat_gtk_deps,
   c_args: hexchat_gtk_cflags,
   link_args: hexchat_gtk_ldflags,
+  pie: true,
   install: true,
   gui_app: true,
 )