projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3216e0c
)
meson: for issue #41 clean up cflags varials
author
Øyvind Kolås
<pippin@gimp.org>
Fri, 2 Aug 2019 14:34:28 +0000
(16:34 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Fri, 2 Aug 2019 14:34:35 +0000
(16:34 +0200)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index d46c12e50b0fdb2780ff4b35727afbbcafc92738..36be08e93c455444bb5cf2b401104e4bb021a81f 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-174,11
+174,12
@@
add_project_arguments(common_c_flags, language: 'c')
################################################################################
# Check for compiler CPU extensions
-mmx_args = []
-sse_args = []
-sse2_cflags = []
+# intialize these to nothing, so meson doesn't complain on non-x86
+
+sse2_cflags = []
+f16c_cflags = []
sse4_1_cflags = []
-avx2_cflags = []
+avx2_cflags
= []
# mmx assembly
if cc.has_argument('-mmmx') and get_option('enable-mmx')