Sync toolchain fixes from pokeemerald

This commit is contained in:
GriffinR
2024-10-11 15:21:06 -04:00
parent 99de06de5f
commit d2c592030d
3 changed files with 21 additions and 8 deletions
+1 -3
View File
@@ -305,10 +305,9 @@ else
@echo -e ".text\n\t.align\t2, 0 @ Don't pad with nop\n" >> $3.s
$$(AS) $$(ASFLAGS) -o $$@ $3.s
endif
ifneq ($(NODEP),1)
$1.d: $2
$(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $2
ifneq ($(NODEP),1)
$1.o: $1.d
-include $1.d
endif
endef
@@ -336,7 +335,6 @@ endef
define ASM_SCANINC
ifneq ($(NODEP),1)
$1.o: $1.d
$1.d: $2
$(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I "" $2
-include $1.d