build: Fix some meson warnings

This commit is contained in:
Patrick Griffis 2019-12-20 22:24:30 -08:00
parent 29591e2b67
commit 8e60546aea
2 changed files with 3 additions and 8 deletions

View File

@ -87,8 +87,6 @@ endif
global_cflags = []
test_cflags = [
'-pipe',
'-fPIE',
'-funsigned-char',
'-Wno-conversion',
'-Wno-pointer-sign',

View File

@ -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,
)