# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup crossgcc 1.0 set gccversion 14.2.0 crossgcc.setup avr ${gccversion} # TODO: Add support avr-libc # See http://download.savannah.gnu.org/releases/avr-libc/ # set avr-libcversion 2.1.0 # crossgcc.setup_libc newlib ${avr-libcversion} revision 0 maintainers {judaew @judaew} openmaintainer license {GPL-3+ Permissive} default_variants +lto variant lto description {enables link time optimization} { configure.args-append --enable-lto }