projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix building tinc and running tests on Solaris
[tinc]
/
meson.build
diff --git
a/meson.build
b/meson.build
index
9f55c9e
..
f96fb32
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-34,6
+34,10
@@
os_name = host_machine.system()
cc_name = cc.get_id()
cc_defs = ['-D_GNU_SOURCE']
+if os_name == 'sunos'
+ cc_defs += '-D__EXTENSIONS__'
+endif
+
cc_flags = [cc_defs]
ld_flags = []