mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-09 20:52:45 +01:00
build: Fix some meson warnings
This commit is contained in:
parent
202393a77c
commit
eeada79a64
@ -91,8 +91,6 @@ endif
|
|||||||
|
|
||||||
global_cflags = []
|
global_cflags = []
|
||||||
test_cflags = [
|
test_cflags = [
|
||||||
'-pipe',
|
|
||||||
'-fPIE',
|
|
||||||
'-funsigned-char',
|
'-funsigned-char',
|
||||||
'-Wno-conversion',
|
'-Wno-conversion',
|
||||||
'-Wno-pointer-sign',
|
'-Wno-pointer-sign',
|
||||||
|
@ -39,13 +39,9 @@ if gtk_dep.get_pkgconfig_variable('target') == 'x11'
|
|||||||
hexchat_gtk_deps += dependency('x11')
|
hexchat_gtk_deps += dependency('x11')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
hexchat_gtk_cflags = [
|
hexchat_gtk_cflags = []
|
||||||
'-fPIE'
|
|
||||||
]
|
|
||||||
|
|
||||||
hexchat_gtk_ldflags = [
|
hexchat_gtk_ldflags = []
|
||||||
'-pie'
|
|
||||||
]
|
|
||||||
|
|
||||||
if get_option('with-libnotify')
|
if get_option('with-libnotify')
|
||||||
hexchat_gtk_sources += 'notifications/notification-libnotify.c'
|
hexchat_gtk_sources += 'notifications/notification-libnotify.c'
|
||||||
@ -89,6 +85,7 @@ executable('hexchat',
|
|||||||
dependencies: hexchat_gtk_deps,
|
dependencies: hexchat_gtk_deps,
|
||||||
c_args: hexchat_gtk_cflags,
|
c_args: hexchat_gtk_cflags,
|
||||||
link_args: hexchat_gtk_ldflags,
|
link_args: hexchat_gtk_ldflags,
|
||||||
|
pie: true,
|
||||||
install: true,
|
install: true,
|
||||||
gui_app: true,
|
gui_app: true,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user