projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24495b0
)
meson - define WORDS_BIGENDIAN if on big endian
author
Carsten Haitzler (Rasterman)
<raster@rasterman.com>
Sun, 11 Nov 2018 09:15:14 +0000
(09:15 +0000)
committer
SangHyeon Jade Lee
<sh10233.lee@samsung.com>
Tue, 20 Nov 2018 06:58:45 +0000
(15:58 +0900)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
8ec9b5e
..
6e1a574
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-120,6
+120,11
@@
cpu_altivec = false
evas_opt_c_args = [ ]
machine_c_args = [ ]
compiler = meson.get_compiler('c')
+
+if host_machine.endian() == 'big'
+ config_h.set10('WORDS_BIGENDIAN', true)
+endif
+
if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
if compiler.has_header('immintrin.h') == true
if (get_option('cpu-mmx') == true)