Skip to content

Commit 23d8125

Browse files
committed
Fix build system
Fixed 'commands commence before first target' error caused by TAB characters before $(warning ...) function calls. - Lines starting with TAB are treated as recipe commands - Recipe commands must be inside a target rule - Function calls like $(warning ...) should NOT start with TAB
1 parent 7736c87 commit 23d8125

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/toolchain.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ ifneq ($(shell $(CC) --version | head -n 1 | grep emcc),)
2222
$(warning $(SDL_MUSIC_CANNOT_PLAY_WARNING))
2323
endif
2424
else
25-
$(warning $(SDL_MUSIC_CANNOT_PLAY_WARNING))
25+
$(warning $(SDL_MUSIC_CANNOT_PLAY_WARNING))
2626
endif
2727
else
28-
$(warning $(SDL_MUSIC_CANNOT_PLAY_WARNING))
28+
$(warning $(SDL_MUSIC_CANNOT_PLAY_WARNING))
2929
endif
3030

3131
# see commit 165c1a3 of emscripten

0 commit comments

Comments
 (0)