diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-28 20:02:12 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-28 20:02:12 +0100 |
commit | c1b7d6df1e176c20917aa5678a4ddda1228b3f54 (patch) | |
tree | 09039380310b9e5797d99bd5ae3729106f000ef1 | |
parent | d9b53fb6b01edc9658c9075bd988111bf2eb1365 (diff) |
Use CC macro in the README example
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |