summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-30 12:11:28 -0700
committerYamaArashi <shadow962@live.com>2016-04-30 12:11:28 -0700
commitf9d0db2da3e7c60302d4e8f7bcd611a7d92fd17d (patch)
treeacead010aa58981ef935f96bf7ac8c4ce40717cd
parent22227eeb3fb8d43d130ec11bd2de12e2a10bcb1c (diff)
fix problems building on 64-bit Linux
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 67b2ec720..a2c1ca752 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ CC1 := tools/agbcc/bin/agbcc
CFLAGS := -mthumb-interwork -O2
CPP := cpp
-CPPFLAGS := -I tools/agbcc/include -iquote include
+CPPFLAGS := -I tools/agbcc/include -iquote include -nostdinc -undef
LD := $(DEVKITARM)/bin/arm-none-eabi-ld
LDFLAGS := -T ld_script.txt -T iwram_syms.txt -T ewram_syms.txt