summaryrefslogtreecommitdiffstatshomepage
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index a1a6a7102c..317bcb5ebf 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -12,7 +12,7 @@ include ../py/py.mk
# compiler settings
CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD)
-LDFLAGS = $(LDFLAGS_MOD) -lm
+LDFLAGS = $(LDFLAGS_MOD) -lm -Wl,-Map=$@.map,--cref
ifeq ($(MICROPY_MOD_TIME),1)
CFLAGS_MOD += -DMICROPY_MOD_TIME=1