Re: Per-source CFLAGS

From: David Schultz (dschultz_at_OCF.Berkeley.EDU)
Date: 06/22/03

  • Next message: Marcel Moolenaar: "Re: Per-source CFLAGS"
    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"


  • Next message: Marcel Moolenaar: "Re: Per-source CFLAGS"