On Sun, Oct 20, 2024 at 12:07 AM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > On Sat, Oct 19, 2024 at 4:31 PM Emil Velikov <emil.l.velikov@xxxxxxxxx> wrote: > ... > > > [built-in options] > > > -buildtype = 'debugoptimized' > > > +;buildtype = 'debugoptimized' > > > > > > ^^ What buildtype other than above exists? > > > > > > > Check the meson website - it describes them quite well [2] > > > > [2] https://mesonbuild.com/Builtin-options.html#details-for-buildtype > > > > -Emil > > > > Thanks. > > In my custom INI file: > > [built-in options] > buildtype = 'release' > > and: > > sudo meson install --strip -C ../build > > Results: > > # file /bin/kmod /usr/lib/x86_64-linux-gnu/libkmod.so.2.5.0 > /bin/kmod: ELF 64-bit LSB pie > executable, x86-64, version 1 (SYSV), dynamically linked, interpreter > /lib64/ld-linux-x86-64.so.2, Build > ID[sha1]=ef45146171c0036544a9345fbd7d0c96e3fa4cc3, for GNU/Linux 3.2.0, stripped > /usr/lib/x86_64-linux-gnu/libkmod.so.2.5.0: ELF 64-bit LSB shared > object, x86-64, version 1 (SYSV), dynamically linked, > BuildID[sha1]=725a4446b481b380588011e4e8733c1db > eed3c82, stripped > > # ll /bin/kmod /usr/lib/x86_64-linux-gnu/libkmod.so.2.5.0 > -rwxr-xr-x 1 root root 172K 19. Okt 23:51 /bin/kmod > -rwxr-xr-x 1 root root 103K 19. Okt 23:51 > /usr/lib/x86_64-linux-gnu/libkmod.so.2.5.0 > Link: https://mesonbuild.com/Release-notes-for-0-62-0.html#meson-install-strip