From eeada79a64b7188f2f820cd45328cf2daa20f9e2 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 20 Dec 2019 22:24:30 -0800 Subject: build: Fix some meson warnings --- meson.build | 2 -- src/fe-gtk/meson.build | 9 +++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 17e73795..2c849482 100644 --- a/meson.build +++ b/meson.build @@ -91,8 +91,6 @@ endif global_cflags = [] test_cflags = [ - '-pipe', - '-fPIE', '-funsigned-char', '-Wno-conversion', '-Wno-pointer-sign', 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, ) -- cgit 1.4.1