Lines Matching full:cflags
15 # The user can override the flags by setting the CFLAGS environment
69 # Try to determine "good" native compiler flags if none specified via CFLAGS
71 CFLAGS=""
73 dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
75 CFLAGS="$CFLAGS -arch host"
78 sun) CFLAGS="-native -fast -xO5 -dalign"
80 CFLAGS="$CFLAGS -xarch=generic"
83 hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
85 CFLAGS="$CFLAGS +DAportable"
94 CFLAGS="-O3 -qansialias -w $xlc_opt",
95 [CFLAGS="-O3 -qansialias -w"
100 echo "* CFLAGS=-O3 -qarch=xxx -qtune=xxx -qansialias -w *"
103 echo "* CPU you have. (Set the CFLAGS environment var. *"
108 intel) CFLAGS="-O3 -ansi_alias"
134 CFLAGS="$CFLAGS $icc_archflag"
141 CFLAGS="-O3 -fomit-frame-pointer"
145 # AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double")
149 CFLAGS="$CFLAGS -fstrict-aliasing")
152 AX_CHECK_COMPILE_FLAG(-ffast-math, CFLAGS="$CFLAGS -ffast-math")
158 if test -z "$CFLAGS"; then
161 echo "* WARNING: Don't know the best CFLAGS for this system *"
162 echo "* Use ./configure CFLAGS=... to specify your own flags *"
163 echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
166 CFLAGS="-O3"
169 AX_CHECK_COMPILE_FLAG($CFLAGS, [], [
172 echo "* WARNING: The guessed CFLAGS don't seem to work with *"
174 echo "* Use ./configure CFLAGS=... to specify your own flags *"
177 CFLAGS=""