From: Stephan Baerwolf Date: Thu, 7 Nov 2013 15:26:51 +0000 (+0100) Subject: fix: build-error on atmega128 X-Git-Tag: testing-head~11 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/8fbc39558cf30f731948f6d10a07987484284b62 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 --- 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__