git: gcc50/stddef.h: Remove __FreeBSD only conditions

John Marino marino at crater.dragonflybsd.org
Thu Feb 12 00:17:19 PST 2015


commit be73e3d318b80c9ddd91bc57e9e1afba632ca280
Author: John Marino <draco at marino.st>
Date:   Thu Feb 12 09:12:44 2015 +0100

    gcc50/stddef.h: Remove __FreeBSD only conditions
    
    In a very special case of DragonFly masquerading as FreeBSD within dports,
    using the stock stddef.h that comes with gcc always results in failure.
    
    The masquerading is done by passing __FreeBSD definition through cflags,
    and this causes the compiler to attempt to include headers that do not
    exist on DragonFly.  The gcc compilers in dports already have this fix.
    
    This commit simply removes all clauses that pertain to FreeBSD and not
    DragonFly.

Summary of changes:
 contrib/gcc-5.0/README.DRAGONFLY      |  1 +
 contrib/gcc-5.0/gcc/ginclude/stddef.h | 30 ------------------------------
 2 files changed, 1 insertion(+), 30 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list