diff --git a/Makefile b/Makefile index 5de0d18afdd6a..a99c7e495562e 100644 --- a/Makefile +++ b/Makefile @@ -101,6 +101,9 @@ DEBUGSYMS = -g #OTHERS = -O3 #DEFINES = -DNDEBUG +# Tells ccache to keep comments, as they can be meaningful to the compiler (as to suppress warnings). +export CCACHE_COMMENTS=1 + # Disable debug. Comment this out to get logging. #DEFINES = -DENABLE_LOGGING