git: gcc50: use DF stddef.h by adding max_align_t

John Marino marino at crater.dragonflybsd.org
Fri Feb 13 23:05:50 PST 2015


commit f5477163536cc240885298d639c4c0051f495bcf
Author: John Marino <draco at marino.st>
Date:   Fri Feb 13 23:09:44 2015 +0100

    gcc50: use DF stddef.h by adding max_align_t
    
    C11 and C++11 need the max_align_t type definition.  In order to get it,
    the gcc version was installed at /usr/libdata/gcc50/stddef.h.  We'd
    rather the base gcc use only system-provided headers, so the max_align_t
    structure has been added to /usr/include/stddef.h
    
    patch-from:	swildner

Summary of changes:
 Makefile_upgrade.inc          | 1 +
 gnu/lib/gcc50/libgcc/Makefile | 3 +--
 include/stddef.h              | 8 ++++++++
 3 files changed, 10 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f5477163536cc240885298d639c4c0051f495bcf


-- 
DragonFly BSD source repository



More information about the Commits mailing list