mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-27 10:30:29 +00:00
attempt to implement ulimit fix for mingw
This commit is contained in:
parent
d71b75fc89
commit
602e54f380
4
Makefile
4
Makefile
@ -474,7 +474,7 @@ $(TARGET): $(OBJECTS)
|
||||
ifeq ($(STATIC_LINKING),1)
|
||||
@echo Archiving $@...
|
||||
ifeq ($(SPLIT_UP_LINK), 1)
|
||||
$(AR) rcs $@ $(foreach OBJECTS,$(OBJECTS),$(NEWLINE) $(AR) q $@ $(OBJECTS))
|
||||
ulimit -s unlimited && $(AR) rcs $@ $(foreach OBJECTS,$(OBJECTS),$(NEWLINE) $(AR) q $@ $(OBJECTS))
|
||||
else
|
||||
$(AR) rcs $@ $(OBJECTS)
|
||||
endif
|
||||
@ -484,7 +484,7 @@ else
|
||||
ifeq ($(SPLIT_UP_LINK), 1)
|
||||
# Use a temporary file to hold the list of objects, as it can exceed windows shell command limits
|
||||
$(file >$@.in,$(OBJECTS))
|
||||
$(LD) $(LDFLAGS) $(LINKOUT)$@ @$@.in $(LIBS)
|
||||
ulimit -s unlimited && $(LD) $(LDFLAGS) $(LINKOUT)$@ @$@.in $(LIBS)
|
||||
@rm $@.in
|
||||
else
|
||||
$(LD) $(LDFLAGS) $(LINKOUT)$@ $(OBJECTS) $(LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user