Looks like you should be able to add that in as-is down to the bottom of
MakefileProto.LINUX right after CFLAGS is set.

-- Nathan

> -----Original Message-----
> From: Atro Tossavainen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 17, 2001 9:36 AM
> To: Neulinger, Nathan
> Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
> Subject: Re: Linux kernel 2.2.19 incompatible with AFS?
> 
> 
> Hello,
> 
> > Sounds like a good idea to me... What is the check that 
> needs made to
> > determine if the compiler is stackguard'ed?
> 
> This is what's in Immunix' kernel-2.2.x-Makefile.patch for 
> compiling the
> kernel on Immunix OS.
> 
> CFLAGS         += $(shell if $(CC) -fno-canary-all-functions 
> -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo 
> "-fno-canary-all-functions"; fi)
> CFLAGS         += $(shell if $(CC) -mno-terminator-canary -S 
> -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo 
> "-mno-terminator-canary"; fi)
> 
> The whole patch file is at the
> <URL:http://immunix.org/ImmunixOS/6.2/i386/extras/kernel-2.2.x
> -Makefile.patch>
> 
> -- 
> Atro Tossavainen (Mr.)               / The Institute of 
> Biotechnology at
> Systems Analyst, Techno-Amish &     / the University of 
> Helsinki, Finland,
> +358-9-19158939  UNIX Dinosaur     / employs me, but my 
> opinions are my own.
> < URL : http : / / www . iki . fi / atro . tossavainen / >
> 
_______________________________________________
OpenAFS-devel mailing list
[EMAIL PROTECTED]
https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel

Reply via email to