diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-25 12:01:40 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-25 12:07:57 -0400 |
commit | 339c20aea74d5b4c6b8b178b478cc5530bc9af79 (patch) | |
tree | e0e856ca7dbf97ea1bfe95e0adc605acb5fc127c /config/header.mk | |
parent | 19189e3f6f18b13e4f9c947c99062e658e98827d (diff) | |
download | bfs-339c20aea74d5b4c6b8b178b478cc5530bc9af79.tar.xz |
config: Add BFS_USE_LIB* to config.h instead of CPPFLAGS
Diffstat (limited to 'config/header.mk')
-rw-r--r-- | config/header.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/header.mk b/config/header.mk index 7fd2f78..ccc36d3 100644 --- a/config/header.mk +++ b/config/header.mk @@ -48,6 +48,7 @@ ${GEN}/config.h: ${HEADERS} printf '// %s\n' "${TGT}" >$@ printf '#ifndef BFS_CONFIG_H\n' >>$@ printf '#define BFS_CONFIG_H\n' >>$@ + printf '#define BFS_USE_%s true\n' $$(printf '%s\n' ${PKGS} | tr 'a-z-' 'A-Z_') >>$@ cat ${.ALLSRC} >>$@ printf '#endif // BFS_CONFIG_H\n' >>$@ cat ${.ALLSRC:%=%.log} >$@.log |