Skip to content
Snippets Groups Projects
Commit b6a467d7 authored by Daniel Schwierzeck's avatar Daniel Schwierzeck Committed by Wolfgang Denk
Browse files

config.mk: use memoization in cc-option macro to speed up compilation


Apply memoization to cc-option macro by caching the results of the
gcc calls. This macro is called very often so using cached results
leads to faster compilation times.

The old behaviour can be restored by defining the config option
CONFIG_CC_OPT_CACHE_DISABLE=y.

Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
parent fec79acc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment