git: boot2: prevent use of DEBUG_FLAGS

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Aug 11 07:30:57 PDT 2009


commit 2b4e55a0484652479fad47fe75733980f6d15b4e
Author: Sascha Wildner <saw at online.de>
Date:   Tue Aug 11 16:28:35 2009 +0200

    boot2: prevent use of DEBUG_FLAGS
    
    When compiling with -g, gcc44 embeds debugging data into the boot2
    binary which can not be stripped by objcopy. This results in boot2
    being too large to fit into the boot sector.
    
    Generally prevent changes to the fragile boot2 build by ignoring
    DEBUG_FLAGS completely.

Summary of changes:
 sys/boot/pc32/boot2/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2b4e55a0484652479fad47fe75733980f6d15b4e


-- 
DragonFly BSD source repository





More information about the Commits mailing list