chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d5313
)
meson: drop 'name' argument in cc.has_argument() (#8878)
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 2 May 2018 08:05:51 +0000
(17:05 +0900)
committer
Sven Eden
<yamakuzure@gmx.net>
Thu, 28 Jun 2018 07:24:07 +0000
(09:24 +0200)
(cherry picked from commit
b0903bb585d2158f78a4cf603fde4aed5474e2b9
)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index aa1234a1421b613222ff53e988109e0368f7d43c..3145ee9de68ed5bf7e2c8036ba3cfe25901450de 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-498,8
+498,7
@@
endforeach
if get_option('buildtype') != 'debug'
foreach arg : ['-ffunction-sections',
'-fdata-sections']
- if cc.has_argument(arg,
- name : '@0@ is supported'.format(arg))
+ if cc.has_argument(arg)
add_project_arguments(arg, language : 'c')
endif
endforeach