Lines Matching full:cflags
8 # prefix=$HOME CC=cc CFLAGS="-O4" ./configure
10 # (setenv prefix $HOME; setenv CC cc; setenv CFLAGS "-O4"; ./configure)
12 # Incorrect settings of CC or CFLAGS may prevent creating a shared library.
13 # If you have problems, try without defining CC and CFLAGS before reporting
91 old_cflags="$CFLAGS"
170 cflags=${CFLAGS-"-O3"}
171 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
185 CFLAGS="${CFLAGS--O3}"
186 SFLAGS="${CFLAGS--O3} -fPIC"
188 CFLAGS="${CFLAGS} ${ARCHS}"
192 CFLAGS="${CFLAGS} -m64"
197 CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST"
199 CFLAGS="${CFLAGS} -Wall -Wextra -pedantic"
203 CFLAGS="${CFLAGS} -DZLIB_DEBUG"
261 HP-UX*) SFLAGS=${CFLAGS-"-O +z"}
262 CFLAGS=${CFLAGS-"-O"}
273 IRIX*) SFLAGS=${CFLAGS-"-ansi -O2 -rpath ."}
274 CFLAGS=${CFLAGS-"-ansi -O2"}
276 OSF1\ V4*) SFLAGS=${CFLAGS-"-O -std1"}
277 CFLAGS=${CFLAGS-"-O -std1"}
280 OSF1*) SFLAGS=${CFLAGS-"-O -std1"}
281 CFLAGS=${CFLAGS-"-O -std1"}
283 QNX*) SFLAGS=${CFLAGS-"-4 -O"}
284 CFLAGS=${CFLAGS-"-4 -O"}
289 SCO_SV\ 3.2*) SFLAGS=${CFLAGS-"-O3 -dy -KPIC "}
290 CFLAGS=${CFLAGS-"-O3"}
294 SFLAGS=${CFLAGS-"-fast -KPIC"}
295 CFLAGS=${CFLAGS-"-fast"}
301 CFLAGS="${CFLAGS} -m64"
307 CFLAGS="$CFLAGS -xarch=amd64" ;;
310 CFLAGS="$CFLAGS -xarch=v9" ;;
318 SunOS\ 4*) SFLAGS=${CFLAGS-"-O2 -PIC"}
319 CFLAGS=${CFLAGS-"-O2"}
321 SunStudio\ 9*) SFLAGS=${CFLAGS-"-fast -xcode=pic32 -xtarget=ultra3 -xarch=v9b"}
322 CFLAGS=${CFLAGS-"-fast -xtarget=ultra3 -xarch=v9b"}
325 SFLAGS=${CFLAGS-"-KPIC -O"}
326 CFLAGS=${CFLAGS-"-O"}
329 SFLAGS=${CFLAGS-"-Kconform_pic -O"}
330 CFLAGS=${CFLAGS-"-O"}
333 SFLAGS=${CFLAGS-"-KPIC -O"}
334 CFLAGS=${CFLAGS-"-O"}
337 SFLAGS=${CFLAGS-"-O -qmaxmem=8192"}
338 CFLAGS=${CFLAGS-"-O -qmaxmem=8192"}
341 *) SFLAGS=${CFLAGS-"-O"}
342 CFLAGS=${CFLAGS-"-O"}
359 if ($CC -c $CFLAGS $test.c) 2>/dev/null; then
395 if try $CC -c $CFLAGS $test.c; then
419 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
438 case $CFLAGS in
458 if try $CC -c $CFLAGS $test.c; then
473 if try $CC -c $CFLAGS $test.c; then
495 if try $CC $CFLAGS -o $test $test.c; then
505 CFLAGS="${CFLAGS} -DNO_SIZE_T=${sizet}"
516 if try $CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c; then
517 CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE=1"
533 if try $CC $CFLAGS -o $test $test.c; then
536 CFLAGS="${CFLAGS} -DNO_FSEEKO"
550 if try $CC $CFLAGS -o $test $test.c; then
553 CFLAGS="${CFLAGS} -DNO_STRERROR"
568 if try $CC -c $CFLAGS $test.c; then
583 if try $CC -c $CFLAGS $test.c; then
612 CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage"
636 if try $CC -c $CFLAGS $test.c; then
657 if try $CC $CFLAGS -o $test $test.c; then
680 if try $CC -c $CFLAGS $test.c; then
683 CFLAGS="$CFLAGS -DHAS_vsnprintf_void"
691 CFLAGS="$CFLAGS -DNO_vsnprintf"
718 if try $CC -c $CFLAGS $test.c; then
721 CFLAGS="$CFLAGS -DHAS_vsprintf_void"
747 if try $CC $CFLAGS -o $test $test.c; then
764 if try $CC -c $CFLAGS $test.c; then
767 CFLAGS="$CFLAGS -DHAS_snprintf_void"
775 CFLAGS="$CFLAGS -DNO_snprintf"
796 if try $CC -c $CFLAGS $test.c; then
799 CFLAGS="$CFLAGS -DHAS_sprintf_void"
820 if tryboth $CC -c $CFLAGS $test.c; then
821 CFLAGS="$CFLAGS -DHAVE_HIDDEN"
835 echo CFLAGS = $CFLAGS >> configure.log
865 /^CFLAGS *=/s#=.*#=$CFLAGS#
898 /^CFLAGS *=/s#=.*#=$CFLAGS#