mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 07:59:42 +00:00
Move LDFLAGS to top of Makefiles
This commit is contained in:
parent
0746337a34
commit
dd4bbdbd89
@ -18,6 +18,8 @@ ifneq ($(NATIVE_ZLIB),)
|
||||
WANT_MINIZ = 0
|
||||
endif
|
||||
|
||||
LDFLAGS := -L. -s TOTAL_MEMORY=$(MEMORY) -s OUTLINING_LIMIT=50000 --js-library emscripten/library_rwebaudio.js --js-library emscripten/library_rwebinput.js --js-library emscripten/library_rwebcam.js --no-heap-copy
|
||||
|
||||
include Makefile.common
|
||||
|
||||
OBJ += frontend/platform/platform_emscripten.o \
|
||||
@ -28,7 +30,6 @@ OBJ += frontend/platform/platform_emscripten.o \
|
||||
libretro = libretro_emscripten.bc
|
||||
|
||||
LIBS =
|
||||
LDFLAGS = -L. -s TOTAL_MEMORY=$(MEMORY) -s OUTLINING_LIMIT=50000 --js-library emscripten/library_rwebaudio.js --js-library emscripten/library_rwebinput.js --js-library emscripten/library_rwebcam.js --no-heap-copy
|
||||
|
||||
OBJ += playlist.o
|
||||
|
||||
|
@ -37,6 +37,7 @@ OBJ :=
|
||||
LIBS := -lm
|
||||
JOYCONFIG_LIBS :=
|
||||
DEFINES := -I. -DHAVE_BUILTIN_AUTOCONFIG -DRARCH_INTERNAL -DHAVE_CC_RESAMPLER -DHAVE_OVERLAY
|
||||
LDFLAGS := -L. -static-libgcc
|
||||
|
||||
include Makefile.common
|
||||
|
||||
@ -66,7 +67,6 @@ endif
|
||||
|
||||
libretro ?= -lretro
|
||||
|
||||
LDFLAGS = -L. -static-libgcc
|
||||
|
||||
ifeq ($(TDM_GCC),)
|
||||
LDCXXFLAGS += -static-libstdc++
|
||||
|
Loading…
Reference in New Issue
Block a user