git: boot/pc32: specify some flags based on CCVER

John Marino marino at crater.dragonflybsd.org
Sat Oct 25 00:33:28 PDT 2014


commit 00a3729f1fb4f3dc8e9311eba4bfe6fad428f5ac
Author: John Marino <draco at marino.st>
Date:   Sat Oct 25 09:22:42 2014 +0200

    boot/pc32: specify some flags based on CCVER
    
    Some flags are gcc-specific, so only set them if CCVER begins with
    the substring "gcc".  Some assembly files can only be built by the
    binutils GNU assembler, so define ASSEMBLER flags which CCVER starting
    with "clang" will augment.  There is no change for the current base
    compilers.

Summary of changes:
 sys/boot/pc32/Makefile.inc    | 12 +++++++++++-
 sys/boot/pc32/boot0/Makefile  |  2 +-
 sys/boot/pc32/boot2/Makefile  |  9 +++++----
 sys/boot/pc32/cdboot/Makefile |  1 +
 4 files changed, 18 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/00a3729f1fb4f3dc8e9311eba4bfe6fad428f5ac


-- 
DragonFly BSD source repository


More information about the Commits mailing list