summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephiles <cae222@yahoo.com>2020-06-26 21:07:04 -0500
committerZephiles <cae222@yahoo.com>2020-06-26 21:07:04 -0500
commit1fc571581ea304c03c1a2d5d9fd05cef0c2765e1 (patch)
tree755aaabfd8479e6acb53f8b6610ed35c8b823302
parentc81faaff7f229cba5d15c7fe0985a3d6ef0b637a (diff)
Ignore warnings about potentially unaligned pointers for packed structs/classes/etc. in newer versions of devkitPPCHEADmaster
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ad4a15..dee1958 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ INCLUDES := include $(LIBTP)/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