Skip to content

Commit

Permalink
Fix warning: linker flag ignored during compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvaka committed Feb 6, 2025
1 parent 0be4c8b commit f7c3f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ ifdef EMSCRIPTEN
WEBGL_CFLAGS=-DSDL_GPU_DISABLE_GLES_3 -DIMGUI_IMPL_OPENGL_ES2
WEBGL_LDFLAGS=-s MIN_WEBGL_VERSION=1 -s MAX_WEBGL_VERSION=1
endif
PLATFORM_CFLAGS=-DSDL_GPU_DISABLE_OPENGL -DSDL_GPU_DISABLE_GLES_1 -s USE_SDL=2 -s USE_SDL_TTF=2 -s USE_SDL_MIXER=2 -s USE_OGG -s USE_VORBIS --preload-file bin/data@/data --use-preload-plugins $(WEBGL_CFLAGS)
PLATFORM_LDFLAGS=-lidbfs.js -s EXPORTED_FUNCTIONS='["_main", "_start_main_loop"]' -s EXPORTED_RUNTIME_METHODS='["ccall"]' -s ALLOW_MEMORY_GROWTH=1 $(WEBGL_LDFLAGS)
PLATFORM_CFLAGS=-DSDL_GPU_DISABLE_OPENGL -DSDL_GPU_DISABLE_GLES_1 -s USE_SDL=2 -s USE_SDL_TTF=2 -s USE_SDL_MIXER=2 -s USE_OGG -s USE_VORBIS $(WEBGL_CFLAGS)
PLATFORM_LDFLAGS=-lidbfs.js -s EXPORTED_FUNCTIONS='["_main", "_start_main_loop"]' -s EXPORTED_RUNTIME_METHODS='["ccall"]' -s ALLOW_MEMORY_GROWTH=1 $(WEBGL_LDFLAGS) --preload-file bin/data@/data --use-preload-plugins
else
OUT_FILE=$(EXEC)
ifeq ($(shell uname),Darwin) # MacOS
Expand Down

0 comments on commit f7c3f12

Please sign in to comment.