[892] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Makefile.in and CFLAGS

daemon@ATHENA.MIT.EDU (Wilfredo Sanchez)
Wed Sep 3 21:54:14 1997

Date: Wed, 3 Sep 97 18:26:58 -0800
From: Wilfredo Sanchez <wsanchez@apple.com>
To: <zephyr-bugs@MIT.EDU>, <zephyr@MIT.EDU>


I ran into a problems building zephyr, and so I thought I'd point it out,
in case anyone with bits to the source tree can fix it, or tell me I'm 
crazy.

*) Makefile.in files throughout the source tree appear to lack
   @CFLAGS@ in the CFLAGS=... line.

   I believe that is an error. If I do setenv CFLAGS "-foo -bar", when
   I run configure, configure does not put the flags into Makefile,
   and that's a bummer.

   Adding @CFLAGS@ before @CPPFLAGS@ seems to do the trick.

I'd offer diffs, but I edited Makefile.in, which I think is a product of
automake or autoconf, and I don't understand those programs, so I don't
have the correct fix.

The reason I need to do this is because I'm building fat binaries, so I
need "-arch ppc -arch i386" tossed into CFLAGS.

     -Fred


---
        Wilfredo Sanchez - wsanchez@apple.com - 408.974-5174
    Apple Computer, Inc. - Rhapsody Core Operating Systems Group
       2 Infinite Loop, Mail Stop 302-4K, Cupertino, CA 95014


home help back first fref pref prev next nref lref last post