Reduce build log verbosity with preprocessor trick

main
Justine Tunney 2020-06-18 23:04:41 -07:00
parent a2c2d14100
commit 799e24a87b
3 changed files with 6 additions and 8 deletions

View File

@ -204,8 +204,7 @@ cc.flags = \
$(DEFAULT_CCFLAGS) \
$(CONFIG_CCFLAGS) \
$(CCFLAGS) \
$(OVERRIDE_CCFLAGS) \
-D__SAUCE__=\"$<\"
$(OVERRIDE_CCFLAGS)
o.flags = \
$(DEFAULT_OFLAGS) \

View File

@ -1014,12 +1014,12 @@ typedef uint64_t uintmax_t;
#endif
/**
* Pulls source code of object being compiled.
* @note automates better compliance with spirit of gpl terms
* @note headers need to call STATIC_YOINK_SOURCE() manually
* Pulls source of object being compiled into zip.
* @note automates compliance with gpl terms
* @see -DIM_FEELING_NAUGHTY
*/
#ifdef __SAUCE__
STATIC_YOINK_SOURCE(__SAUCE__); /* see build/definitions.mk */
#ifdef __BASE_FILE__
STATIC_YOINK_SOURCE(__BASE_FILE__);
#endif
#ifndef __cplusplus

View File

@ -16,7 +16,6 @@ o/$(MODE)/third_party: \
o/$(MODE)/third_party/lex \
o/$(MODE)/third_party/linenoise \
o/$(MODE)/third_party/lz4cli \
o/$(MODE)/third_party/make \
o/$(MODE)/third_party/m4 \
o/$(MODE)/third_party/musl \
o/$(MODE)/third_party/regex \