Re: Per-source CFLAGS
From: David Schultz (dschultz_at_OCF.Berkeley.EDU)
Date: 06/22/03
- Previous message: David Schultz: "Re: Per-source CFLAGS"
- In reply to: Ruslan Ermilov: "Re: Per-source CFLAGS"
- Next in thread: David Schultz: "Re: Per-source CFLAGS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 22 Jun 2003 01:59:23 -0700 To: Ruslan Ermilov <ru@FreeBSD.org>
On Sun, Jun 22, 2003, Ruslan Ermilov wrote:
> I still have some concerns with the proposed implementation.
> All already existing per-file knobs override the global knob,
> and I think that maybe the per-source CFLAGS should behave
> the same? Doing it this way is more flexible; you're free
> to augment the global CFLAGS by saying
>
> CFLAGS_foo.c= ${CFLAGS} -DFOO
Overriding the global settings is kinda the point, but FWIW, your
proposal is indeed more flexible. But can you think of a way to
implement it that doesn't involve generating a CFLAGS_foo.c
variable for every file?
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: David Schultz: "Re: Per-source CFLAGS"
- In reply to: Ruslan Ermilov: "Re: Per-source CFLAGS"
- Next in thread: David Schultz: "Re: Per-source CFLAGS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]