]> git.pld-linux.org Git - packages/criterion.git/blob - x32.patch
libgit2 1.7.x rebuild
[packages/criterion.git] / x32.patch
1 --- criterion-2.4.1/subprojects/boxfort/meson.build.orig        2022-04-26 08:55:02.322888100 +0200
2 +++ criterion-2.4.1/subprojects/boxfort/meson.build     2022-11-20 00:30:33.386292493 +0100
3 @@ -81,7 +81,13 @@
4  if arch == 'x86'
5         bitness = 32
6  elif arch == 'x86_64'
7 -       bitness = 64
8 +       if cc.compiles('''#ifdef __ILP32__
9 +#error x32
10 +#endif''')
11 +               bitness = 64
12 +        else
13 +               bitness = 32
14 +        endif
15  elif arch == 'arm'
16         bitness = 32
17  elif arch == 'aarch64'
This page took 0.112297 seconds and 3 git commands to generate.