mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
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.
11 lines
291 B
C
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
|