summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile.Web
diff options
context:
space:
mode:
authorInKryption <[email protected]>2022-10-20 18:33:12 +0200
committerGitHub <[email protected]>2022-10-20 18:33:12 +0200
commit40cf84e7e527aab27ae01861c887a0498949a328 (patch)
tree6e92fcfd015fde477364205bdeb83ae32d0c25de /examples/Makefile.Web
parentb8e14a4f9987b7930c04d72f3f7c4be705edf5f8 (diff)
downloadraylib-40cf84e7e527aab27ae01861c887a0498949a328.tar.gz
raylib-40cf84e7e527aab27ae01861c887a0498949a328.zip
build.zig: let user decide how to set build mode + fix linker warning (#2763)
* build.zig: let user decide how to set build mode This should delegate the responsibility of calling `standardReleaseOptions` and setting the build mode of the `*LibExeObjStep` step to the caller, especially since this might not be the process by which one wants to determine the build mode. Also changes hides `getSrcDir` to enforce usage of `srcdir`, and asserts that the file is in fact inside a directory. * build.zig: set root_src param to `null` Supplying the header file as the root source here appears to cause a linker warning of the form: ``` LLD Link... warning(link): unexpected LLD stderr: ld.lld: warning: {build_root}/zig-cache/o/{hash}/libraylib.a: archive member '{build_root}/zig-cache/o/{hash}/raylib.o' is neither ET_REL nor LLVM bitcode ``` Passing `null` instead fixes it.
Diffstat (limited to 'examples/Makefile.Web')
0 files changed, 0 insertions, 0 deletions