projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cdd41b
)
meson: set _GNU_SOURCE on cygwin
author
Jon Turney
<jon.turney@dronecode.org.uk>
Thu, 23 Nov 2017 13:42:00 +0000
(13:42 +0000)
committer
Jon Turney
<jon.turney@dronecode.org.uk>
Thu, 30 Nov 2017 15:09:21 +0000
(15:09 +0000)
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index a7a51bccb33b4dce1155a21d4d5c38c3cc6a3b57..7a7793b9961c0788c7f0c1fec9dd516957208140 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-481,7
+481,7
@@
if cc.compiles('int foo(void) { return 0; } int bar(void) __attribute__((alias("
endif
# TODO: this is very incomplete
-if
host_machine.system() == 'linux'
+if
['linux', 'cygwin'].contains(host_machine.system())
pre_args += '-D_GNU_SOURCE'
endif