diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-08 14:43:29 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-08 14:43:29 +0000 |
commit | 68e38f49b234474bdd123120de004de96fae8715 (patch) | |
tree | 407b5b408460a651748f4f7c581ae8571be38403 /configure | |
parent | 34836095937077a427c4810d21833a2b21000a86 (diff) |
use -MMD if the compiler supports it
it's better than the previous Makefile.depend approach since this
automatically adapts to the included headers without requiring
manual intervention to regen the list.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -240,6 +240,10 @@ fi # -------- # tests for config.h +if runtest noop MMD -MMD; then + CFLAGS="${CFLAGS} -MMD" +fi + runtest err ERR || true runtest explicit_bzero EXPLICIT_BZERO || true runtest freezero FREEZERO || true |