Skip to content

Commit 14bdf6b

Browse files
committed
Removed -mcrt=clib4 from GNUMakefile
1 parent bd6665a commit 14bdf6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

GNUmakefile.os4

+3-3
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,12 @@ $(OUTPUT_LIB)/crt0.o : $(LIB_DIR)/crt0.S
233233
$(VERBOSE)$(ASSEMBLE)
234234
-$(COPY) $(OUTPUT_LIB)/crt0.o $(INSTALL_PREFIX)/lib/
235235

236-
$(OUTPUT_LIB)/crtbegin.o : CFLAGS = -mcrt=clib4 $(STABS) $(OPTIONS) $(INCLUDES) -O0 -fno-aggressive-loop-optimizations
236+
$(OUTPUT_LIB)/crtbegin.o : CFLAGS = $(STABS) $(OPTIONS) $(INCLUDES) -O0 -fno-aggressive-loop-optimizations
237237
$(OUTPUT_LIB)/crtbegin.o : $(LIB_DIR)/crtbegin.c
238238
$(VERBOSE)$(COMPILE)
239239
-$(COPY) $(OUTPUT_LIB)/crtbegin.o $(INSTALL_PREFIX)/lib/
240240

241-
$(OUTPUT_LIB)/crtend.o : CFLAGS = -mcrt=clib4 -O0 $(OPTIONS) $(INCLUDES) -fno-aggressive-loop-optimizations
241+
$(OUTPUT_LIB)/crtend.o : CFLAGS = -O0 $(OPTIONS) $(INCLUDES) -fno-aggressive-loop-optimizations
242242
$(OUTPUT_LIB)/crtend.o : $(LIB_DIR)/crtend.c
243243
$(VERBOSE)$(COMPILE)
244244
-$(COPY) $(OUTPUT_LIB)/crtend.o $(INSTALL_PREFIX)/lib/
@@ -339,7 +339,7 @@ define MAKESHARED
339339
$(VERBOSE)@$(MAKEDIR) $(@D)
340340
$(VERBOSE)@$(DELETE) $@
341341
$(VERBOSE)echo -e "\rMaking Shared \033[0;31m$@\033[0m"
342-
$(VERBOSE)$(CC) -nostdlib -mcrt=clib4 -shared -o $@ $(OUTPUT_LIB)/shcrtbegin.o $^ $(OUTPUT_LIB)/shcrtend.o $(LOG_COMMAND) -Wl,-soname,$(@F)
342+
$(VERBOSE)$(CC) -nostdlib -shared -o $@ $(OUTPUT_LIB)/shcrtbegin.o $^ $(OUTPUT_LIB)/shcrtend.o $(LOG_COMMAND) -Wl,-soname,$(@F)
343343
endef
344344

345345
PatchForSPE : $(LIB_ROOT)/misc/PatchForSPE.cpp

0 commit comments

Comments
 (0)