From 51e10e84ea1e26520c9cfa225c7dddc46591abc6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 12 Mar 2026 16:58:08 +0200 Subject: configure: change CONFIG_ to use macros. Makes the variables accessible in CPP. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 017eb73..05a45fa 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ $ make DESTDIR="" install The configure script takes three forms of arguments. 1) Long-opts: `--prefix=/usr`, `--help` -2) Variables: `CC=/bin/cc`, `CFLAGS="-O3"`, `CONFIG_TINY=1`, `LDFLAGS=" "` +2) Variables: `CC=/bin/cc`, `CFLAGS="-O3"`, `LDFLAGS=" "` 3) C macro definitions: `-DMACRO`, `-DMACRO=VALUE`, `-UMACRO` There are three different build configurations. @@ -106,7 +106,7 @@ Bonus example: ```sh ./configure \ --prefix=/usr \ - CONFIG_TINY=1 \ + -DCONFIG_TINY=1 \ CC=clang \ CFLAGS="$CFLAGS -flto -static" \ -DDFM_NO_COLOR \ -- cgit v1.2.3