Skip to content

Commit

Permalink
Ignore warnings about potentially unaligned pointers for packed struc…
Browse files Browse the repository at this point in the history
…ts/classes/etc. in newer versions of devkitPPC
  • Loading branch information
Zephiles authored Jun 27, 2020
1 parent a1cabd8 commit 24854b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24854b0

Please sign in to comment.