Skip to content

Commit 85f1d88

Browse files
committed
fix static lib builds, take two
first one was very stupid... lets fix this
1 parent 9546652 commit 85f1d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/devtools/makefile_base_posix.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ endif
183183

184184
# If not specified by environment, use steam runtime compilers + in-tree ccache
185185
ifneq ($(filter default undefined,$(origin AR)),)
186-
AR = $(STEAM_RUNTIME_PATH)/bin/ar crs
186+
AR = $(STEAM_RUNTIME_PATH)/bin/ar
187187
endif
188188
ifneq ($(filter default undefined,$(origin CC)),)
189189
CC = $(CCACHE) $(STEAM_RUNTIME_PATH)/bin/gcc$(GCC_VER)
@@ -540,7 +540,7 @@ ifneq "$(OUTPUTFILE)" ""
540540
endif
541541

542542
$(LIB_File): $(OTHER_DEPENDENCIES) $(OBJS)
543-
$(QUIET_PREFIX) $(AR) $(LIB_File) $(OBJS) $(LIBFILES);
543+
$(QUIET_PREFIX) $(AR) crs $(LIB_File) $(OBJS) $(LIBFILES);
544544
$(QUIET_PREFIX) -$(P4_EDIT_START) $(LIB_File) $(P4_EDIT_END);
545545
$(SHELL) -c "$(POSTBUILDCOMMAND)"
546546

0 commit comments

Comments
 (0)