Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 1998 01:37:31 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, rnordier@nordier.com
Cc:        committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/boot/i386 Makefile
Message-ID:  <199810101537.BAA06114@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>The .s.o suffix rules in bsd.lib.mk are deliberately stripping all
>but the [-BID] options out of CFLAGS.  This is causing problems for
>the BTX-specific startup code in /sys/boot/i386/btx/lib.  (The -elf
>override is never seen.)
>
>Any thoughts on whether this is a correctable lib.mk problem, or just
>something BTX should find another way around?

bsd.lib.mk shouldn't do that, especially since the rules were changed to
use [g]cc with the unportable -x assembler-with-cpp option instead of
"cpp ... | as".  You'll have to work around it in btx, since the 3.0
release is too close to change bsd.lib.mk.

BTW, you should use *.S instead of *.s, at least if you want preprocessing
by cpp.  I don't think gcc can handle assembler-with-m4.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810101537.BAA06114>