mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 03:22:12 +00:00
Proper incremental builds
Auto generate flag.h for precise rebuilding
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
#include <flags.hpp>
|
||||
#include <flags.h>
|
||||
|
||||
#include "logging.hpp"
|
||||
|
||||
@@ -47,7 +47,7 @@ void cmdline_logging() {
|
||||
}
|
||||
|
||||
// LTO will optimize out the NOP function
|
||||
#ifdef MAGISK_DEBUG
|
||||
#if MAGISK_DEBUG
|
||||
void LOGD(const char *fmt, ...) { LOG_BODY(d) }
|
||||
#else
|
||||
void LOGD(const char *fmt, ...) {}
|
||||
|
Reference in New Issue
Block a user