blob: de615f86bb5751d89ba685a0ec1b73937f610ead (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
|