Skip to content

Commit e1e659f

Browse files
authored
Merge pull request #388 from CodeConstruct/conf-host-endian-fix
meson: use host target for defining endianness
2 parents 65f5279 + f21a66c commit e1e659f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ conf.set10(
125125
)
126126
conf.set10(
127127
'HAVE_LITTLE_ENDIAN',
128-
build_machine.endian() == 'little',
128+
host_machine.endian() == 'little',
129129
description: 'Building for little-endian'
130130
)
131131
conf.set10(
132132
'HAVE_BIG_ENDIAN',
133-
build_machine.endian() == 'big',
133+
host_machine.endian() == 'big',
134134
description: 'Building for big-endian'
135135
)
136136
conf.set10(

0 commit comments

Comments
 (0)