summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephiles <cae222@yahoo.com>2020-06-26 20:59:01 -0500
committerZephiles <cae222@yahoo.com>2020-06-26 21:01:07 -0500
commit580c8b01375bdb2b4499570ee758c2f2781b5267 (patch)
tree2c736f85f2ce6fce9dec58469a41216a88e97e10
parent5d6c7ed397d042a6edf1d481d5552a7eb2eb0847 (diff)
Ignore warnings about potentially unaligned pointers for packed structs/classes/etc. in newer versions of devkitPPC
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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