diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2026-03-12 16:58:08 +0200 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2026-03-12 16:58:08 +0200 |
| commit | 51e10e84ea1e26520c9cfa225c7dddc46591abc6 (patch) | |
| tree | 54f1f810f076d5d7959f32fb65b62001d0fdbf6b /README.md | |
| parent | a092416af6deccec3a0d92cbe2e3191c30a462b7 (diff) | |
configure: change CONFIG_ to use macros.
Makes the variables accessible in CPP.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |