# -*- mode: shell-script -*- # EGLIBC does not support the i386, but GCC produces i386 code by default, # so we must compile EGLIBC with -march=i486, or something newer. # Setting CFLAGS in the environment overrides the default of '-g -O2'; # EGLIBC must be compiled with optimization. eglibc_cflags='-g -O2' case "$target" in i?86-*) eglibc_cflags="$eglibc_cflags -march=i686" ;; esac