summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-06-26 16:23:00 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-06-26 16:42:57 -0400
commitb839c213073f99d73d03bb28f0fd350e13afba09 (patch)
tree554c6ecbc9701bfa7d5397d2e22439f2793b079c /Makefile
parentfb06e4a3c94ae17b73df6d3aecf2d18213aa183e (diff)
Fix/suppress warnings when building with gcc-8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cffbcf87f..b23b278be 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ ROM := pokeemerald.gba
OBJ_DIR := build/emerald
else
CC1 := $(shell $(PREFIX)gcc --print-prog-name=cc1)
-override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -quiet -fno-toplevel-reorder -Wno-aggressive-loop-optimizations
+override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -quiet -fno-toplevel-reorder -Wno-aggressive-loop-optimizations -Wno-pointer-to-int-cast
ROM := pokeemerald_modern.gba
OBJ_DIR := build/modern
endif