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) \ $(DEFAULT_CCFLAGS) \
$(CONFIG_CCFLAGS) \ $(CONFIG_CCFLAGS) \
$(CCFLAGS) \ $(CCFLAGS) \
$(OVERRIDE_CCFLAGS) \ $(OVERRIDE_CCFLAGS)
-D__SAUCE__=\"$<\"
o.flags = \ o.flags = \
$(DEFAULT_OFLAGS) \ $(DEFAULT_OFLAGS) \

View File

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

View File

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