diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-30 18:22:41 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-30 18:22:41 +0100 |
commit | ba9f12810f7dc4969ac175f6e959d5fe6407747d (patch) | |
tree | f4039e46985d56bac471bd8568f96b159a92b2ae /rust/qmk-hid-com/src_c/build.sh | |
parent | feat(src): Make usable (diff) | |
download | qmk_layout-ba9f12810f7dc4969ac175f6e959d5fe6407747d.zip |
feat(treewide): Migrate the Unicode handling to a custom c program, that works via rawhid
Diffstat (limited to 'rust/qmk-hid-com/src_c/build.sh')
-rwxr-xr-x | rust/qmk-hid-com/src_c/build.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/rust/qmk-hid-com/src_c/build.sh b/rust/qmk-hid-com/src_c/build.sh new file mode 100755 index 0000000..de615f8 --- /dev/null +++ b/rust/qmk-hid-com/src_c/build.sh @@ -0,0 +1,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 |