1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-11 21:17:28 +03:00

Style change

This commit is contained in:
Rui Ueyama 2022-02-17 20:29:28 +09:00
parent fcb28161b1
commit 7735cf5b95
2 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ endif
ifeq ($(USE_MIMALLOC), 1)
ifdef SYSTEM_MIMALLOC
MOLD_CXXFLAGS += -DSYSTEM_MIMALLOC=1
MOLD_CXXFLAGS += -DUSE_SYSTEM_MIMALLOC
MOLD_LDFLAGS += -lmimalloc
else
MIMALLOC_LIB = out/mimalloc/libmimalloc.a

View File

@ -1,13 +1,13 @@
#if defined(SYSTEM_MIMALLOC)
#include <mimalloc-new-delete.h>
#endif
#include "elf/mold.h"
#include "macho/mold.h"
#include <cstring>
#include <signal.h>
#ifdef USE_SYSTEM_MIMALLOC
#include <mimalloc-new-delete.h>
#endif
namespace mold {
#ifdef GIT_HASH