From 24854b0bd37c6af91bc7424cb56aa1444e460eea Mon Sep 17 00:00:00 2001 From: Zephiles Date: Fri, 26 Jun 2020 21:15:34 -0500 Subject: [PATCH] Ignore warnings about potentially unaligned pointers for packed structs/classes/etc. in newer versions of devkitPPC --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1f75762..ea2b967 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ INCLUDES := include MACHDEP = -mno-sdata -mgcn -DGEKKO -mcpu=750 -meabi -mhard-float -CFLAGS = -nostdlib -ffreestanding -ffunction-sections -fdata-sections -g -Os -Wall -Werror $(MACHDEP) $(INCLUDE) +CFLAGS = -nostdlib -ffreestanding -ffunction-sections -fdata-sections -g -Os -Wall -Werror -Wno-address-of-packed-member $(MACHDEP) $(INCLUDE) CXXFLAGS = -fno-exceptions -fno-rtti -std=gnu++17 $(CFLAGS) LDFLAGS = -r -e _prolog -u _prolog -u _epilog -u _unresolved -Wl,--gc-sections -nostdlib -g $(MACHDEP) -Wl,-Map,$(notdir $@).map