Subject: Adding to compilation flags during /usr/src/build.sh
To: None <netbsd-help@netbsd.org>
From: Ingolf Steinbach <Ingolf.Steinbach@jena-optronik.de>
List: netbsd-help
Date: 03/24/2004 10:09:25
Hi,
what is the correct way to *add* certain compiler flags (e.g.
-pipe) for *all* compiler invocations during /usr/src/build.sh
on NetBSD 1.6.2 without replacing the default settings? (Note:
I'd prefer not having to repeat the default settings explicitly
as they might change while I'd like to keep -pipe...)
I have searched the mailing list archives and found different
ways (CFLAGS vs COPTS for instance) which all seem to have
some drawbacks. /usr/src/BUILDING does not give any hints.
Kind regards
Ingolf
--
Ingolf Steinbach Jena-Optronik GmbH
ingolf.steinbach@jena-optronik.de ++49 3641 200-147
PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04