Reduce build log verbosity with preprocessor trick

main
Justine Tunney 3 years ago
parent a2c2d14100
commit 799e24a87b
  1. 3
      build/definitions.mk
  2. 10
      libc/integral/c.inc
  3. 1
      third_party/third_party.mk

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

@ -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

@ -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 \

Loading…
Cancel
Save