malign becomes falign?

Mike Frysinger vapier at gentoo.org
Mon Nov 14 13:50:27 UTC 2005


On Sun, Nov 13, 2005 at 11:37:27PM -0600, Rob Landley wrote:
> Building with gcc4, I'm getting these warnings:
> 
> /mnt/home/landley/busybox/busybox/miscutils/bbconfig.c:1: warning: 
> -malign-loops is obsolete, use -falign-loops
> /mnt/home/landley/busybox/busybox/miscutils/bbconfig.c:1: warning: 
> -malign-jumps is obsolete, use -falign-jumps
> /mnt/home/landley/busybox/busybox/miscutils/bbconfig.c:1: warning: 
> -malign-functions is obsolete, use -falign-functions
> 
> What's the oldest compiler to support the falign stuff?  What version do we 
> jettison by fixing this?  (2.95?)

why not just use the check_gcc wrapper ?
CFLAGS += $(check_gcc -falign-jumps=0 -falign-loops=0,-malign-jumps=0 -malign-loops=0)
-mike



More information about the busybox mailing list