Summary Files Commits Branches @commit @diff @stats
path: root / README.md
diff options
context:
space:
mode:
Commit90518ee01fe2f0d41a0661b8f4de5cd903de60a1 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-02-04 07:29:32 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-02-04 07:58:18 +0100
Files0b9c78c786d7dece3254e1cb0138afe8cae44626 /README.md
goodwolf-90518ee01fe2f0d41a0661b8f4de5cd903de60a1.tar
goodwolf-90518ee01fe2f0d41a0661b8f4de5cd903de60a1.tar.gz
goodwolf-90518ee01fe2f0d41a0661b8f4de5cd903de60a1.zip
Parent6b5f7edc9b3d420837a3035fb24760de54451c4d (diff)
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.md2
diff --git a/README.md b/README.md
index 75752b0..6ce8eef 100644
--- a/README.md
+++ b/README.md
@@ -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.