Move LDFLAGS to top of Makefiles

This commit is contained in:
twinaphex 2014-09-14 00:55:17 +02:00
parent 0746337a34
commit dd4bbdbd89
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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++