git: gcc120: Fix "make depend" failure in libgcc_eh

Aaron LI aly at crater.dragonflybsd.org
Fri Apr 3 17:08:19 PDT 2026


commit 51a9f02d18285346582ce1de71979df3233aa5cb
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Apr 2 22:47:08 2026 +0800

    gcc120: Fix "make depend" failure in libgcc_eh
    
    libgcc_eh pulled the 'FLAGS_GROUPS=sse2' from libgcc/Makefile.src and
    thus "make depend" would call mkdep(1) on the 'sse2' group, but it would
    fail because the 'sfp-machine.h' header was not generated.
    
    Fix the problem by moving the 'FLAGS_GROUPS=sse2' and related variables
    from libgcc/Makefile.src to {libgcc,libgcc_pic}/Makefile, where they're
    actually used.
    
    Discussed-with: swildner

Summary of changes:
 gnu/lib/gcc120/libgcc/Makefile     | 4 ++++
 gnu/lib/gcc120/libgcc/Makefile.src | 7 ++-----
 gnu/lib/gcc120/libgcc_pic/Makefile | 4 ++++
 3 files changed, 10 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/51a9f02d18285346582ce1de71979df3233aa5cb


-- 
DragonFly BSD source repository


More information about the Commits mailing list