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