#!/usr/bin/env sh # Source: https://mesonbuild.com/Builtin-options.html # Use gcc's wrappers to support lto CC="gcc" AR="gcc-ar" RANLIB="gcc-ranlib" meson setup build_release \ -Dbuildtype=release \ -Ddebug=false \ -Doptimization=3 \ -Dstrip=true \ -Dwarning_level=everything \ -Dwerror=true \ -Db_lundef=true \ -Db_lto=true \ -Db_ndebug=false \ -Db_pgo=generate \ -Db_staticpic=true \ -Db_pie=false \ -Dc_std=gnu2x