From 8fbc39558cf30f731948f6d10a07987484284b62 Mon Sep 17 00:00:00 2001 From: Stephan Baerwolf Date: Thu, 7 Nov 2013 16:26:51 +0100 Subject: [PATCH] fix: build-error on atmega128 Since MCUSR and some other Macros (from boot.h) are marked as depreciated, gcc will fail to compile. Solve by deactivating poison-pragma: __AVR_LIBC_DEPRECATED_ENABLE__ Signed-off-by: Stephan Baerwolf --- Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index e2ecf67..4ba9059 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -82,7 +82,7 @@ DEFINES_324 = #-DEMPTY FUSEOPT_128 = -U lfuse:w:0x1f:m -U hfuse:w:0xc0:m -U efuse:w:0xfd:m BOOTLOADER_ADDRESS_128 = 0x1E000 -DEFINES_128 = #-DEMPTY +DEFINES_128 = -D__AVR_LIBC_DEPRECATED_ENABLE__ -- 2.11.0