Skip to content

Commit

Permalink
Let's try --source-map.
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed Nov 7, 2022
1 parent aba12ca commit aa1b3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ COPT += -O3
CFLAGS += -g
else
COPT += -O3 -DNDEBUG
CFLAGS += -gseparate-dwarf
CFLAGS += -gsource-map --source-map-base=./
endif

JSFLAGS += -s ASYNCIFY
Expand All @@ -54,7 +54,7 @@ JSFLAGS += -s EXPORTED_RUNTIME_METHODS="['ccall', 'cwrap']" --js-library jshal.j
ifdef DEBUG
JSFLAGS += -g
else
JSFLAGS += -gseparate-dwarf
JSFLAGS += -gsource-map --source-map-base=./
endif

SRC_C += \
Expand Down

0 comments on commit aa1b3ea

Please sign in to comment.