summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-04-24 16:51:08 +0200
committerBad Diode <bd@badd10de.dev>2021-04-24 16:51:08 +0200
commit0f16e5bfb1738330a33b300067f86d363fd250bf (patch)
treef1d07133d39a320fa8b389018814261988d5bf17 /Makefile
parenta910bccb3e2f70865d4a2f4d2991b864a97bebed (diff)
downloadgba-experiments-0f16e5bfb1738330a33b300067f86d363fd250bf.tar.gz
gba-experiments-0f16e5bfb1738330a33b300067f86d363fd250bf.zip
Suppress incompatible-pointer-types warnings
Life is too short to cast all of these.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae1e158..1979bf8 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ CC := arm-none-eabi-gcc
28OBJCOPY := arm-none-eabi-objcopy 28OBJCOPY := arm-none-eabi-objcopy
29ARCH := -mthumb -mthumb-interwork 29ARCH := -mthumb -mthumb-interwork
30SPECS := -specs=gba.specs 30SPECS := -specs=gba.specs
31CFLAGS := -g -Wall -Wextra -pedantic -fno-strict-aliasing 31CFLAGS := -g -Wall -Wextra -pedantic -fno-strict-aliasing -Wno-incompatible-pointer-types
32CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH) 32CFLAGS += -mcpu=arm7tdmi -mtune=arm7tdmi $(ARCH)
33CFLAGS += -I$(LIBGBA_SRC) 33CFLAGS += -I$(LIBGBA_SRC)
34LDFLAGS := $(ARCH) $(SPECS) 34LDFLAGS := $(ARCH) $(SPECS)