aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-12-28 20:02:12 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-12-28 20:02:12 +0100
commitc1b7d6df1e176c20917aa5678a4ddda1228b3f54 (patch)
tree09039380310b9e5797d99bd5ae3729106f000ef1
parentd9b53fb6b01edc9658c9075bd988111bf2eb1365 (diff)
Use CC macro in the README example
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 4766659..8ee0d64 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ main(int argc, char **argv)
if (!needs_rebuild(TARGET, TARGET ".c"))
return EXIT_SUCCESS;
- cmdadd(&cmd, "cc");
+ cmdadd(&cmd, CC);
if (!pcquery(&cmd, "liblux", PKGC_LIBS | PKGC_CFLAGS))
cmdadd(&cmd, "-llux");
cmdadd(&cmd, CFLAGS, "-o", TARGET, TARGET ".c");