diff options
Makefile: use $PKGCONFIG, use += and ?= BSD extensions
Allows to use cross-compilation for ${triple}-pkg-config on systems
like Exherbo without special handling.
The BSD extensions += and ?= for variable extension is used to avoid having
to explicitely pass a list of variables to make, thus making build recipies
simpler.
Only issue is when CC is unset, you will get CC=c99, which doesn't works as c11
is used. Consider doing something like the following in your build recipes:
make CC=${CC:-cc}
Reported-by: danyspin97
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | README.md | 2 |
@@ -54,7 +54,7 @@ Dependencies are: - A pkg-config implementation (pkgconf is recommended) - (optionnal) gettext implementation (such as GNU Gettext) -Compilation is done with `make`, install with `make install`. An example AppArmor profile is provided at `usr.bin.badwolf`, please do runtime checks before deploying. +Compilation is done with `make CC=${CC:-cc}`, install with `make install`. An example AppArmor profile is provided at `usr.bin.badwolf`, please do runtime checks before deploying. ## Notes Most of the privacy/security stuff will be done with patches against WebKit as quite a lot isn’t into [WebKitSettings](https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html) and with generic WebKit extensions that should be resuseable. |