Fix GCC x86 build

This commit is contained in:
Tim Angus 2025-08-22 18:38:46 +01:00
parent 03c5ee009d
commit 3aee97dfab
4 changed files with 5 additions and 3 deletions

View File

@ -2881,7 +2881,7 @@ $(B)/$(MISSIONPACK)/vm/ui.qvm: $(MPUIVMOBJ) $(UIDIR)/ui_syscalls.asm $(Q3ASM)
## CLIENT/SERVER RULES
#############################################################################
$(B)/client/%.o: $(ASMDIR)/%.s
$(B)/client/%.o: $(ASMDIR)/%.S
$(DO_AS)
# k8 so inline assembler knows about SSE
@ -2980,7 +2980,7 @@ $(B)/renderergl2/%.o: $(RGL2DIR)/%.c
$(DO_REF_CC)
$(B)/ded/%.o: $(ASMDIR)/%.s
$(B)/ded/%.o: $(ASMDIR)/%.S
$(DO_AS)
# k8 so inline assembler knows about SSE

View File

@ -7,8 +7,10 @@ endif()
enable_language(ASM)
set(ASM_SOURCES
${SOURCE_DIR}/asm/snapvector.c
${SOURCE_DIR}/asm/ftola.c
${SOURCE_DIR}/asm/matha.S
${SOURCE_DIR}/asm/snapvector.c
${SOURCE_DIR}/asm/snd_mixa.S
)
add_compile_options(-Wall -Wimplicit