ports/devel/avr-gcc/files/patch-libgcov.h
Joerg Wunsch fc9ca6bf90 devel/avr-gcc: Update to GCC 11.2
Also include the specs file for recent AVR-Dx MCUs (e.g. AVR128DA48
etc.), so the compiler can handle these, in addition to the builtin
MCU types. These files come straight from the Microchip device pack.
2022-03-29 23:33:37 +02:00

11 lines
291 B
C

--- libgcc/libgcov.h~ 2021-07-28 08:55:08.812308622 +0200
+++ libgcc/libgcov.h 2022-02-18 23:18:28.532448000 +0100
@@ -45,6 +45,8 @@
#include "libgcc_tm.h"
#include "gcov.h"
+#undef HAVE_SYS_MMAN_H // AVR environment doesn't have it
+
#if HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif