Home | History | Annotate | Download | only in src

Lines Matching refs: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
77 old_cflags="$CFLAGS"
154 cflags=${CFLAGS-"-O3"}
155 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
168 CFLAGS="${CFLAGS--O3} ${ARCHS}"
169 SFLAGS="${CFLAGS--O3} -fPIC"
172 CFLAGS="${CFLAGS} -m64"
177 CFLAGS="${CFLAGS} -Wall -Wextra -Wcast-qual -pedantic -DZLIB_CONST"
179 CFLAGS="${CFLAGS} -Wall -Wextra -pedantic"
237 HP-UX*) SFLAGS=${CFLAGS-"-O +z"}
238 CFLAGS=${CFLAGS-"-O"}
249 IRIX*) SFLAGS=${CFLAGS-"-ansi -O2 -rpath ."}
250 CFLAGS=${CFLAGS-"-ansi -O2"}
252 OSF1\ V4*) SFLAGS=${CFLAGS-"-O -std1"}
253 CFLAGS=${CFLAGS-"-O -std1"}
256 OSF1*) SFLAGS=${CFLAGS-"-O -std1"}
257 CFLAGS=${CFLAGS-"-O -std1"}
259 QNX*) SFLAGS=${CFLAGS-"-4 -O"}
260 CFLAGS=${CFLAGS-"-4 -O"}
265 SCO_SV\ 3.2*) SFLAGS=${CFLAGS-"-O3 -dy -KPIC "}
266 CFLAGS=${CFLAGS-"-O3"}
270 SFLAGS=${CFLAGS-"-fast -KPIC"}
271 CFLAGS=${CFLAGS-"-fast"}
277 CFLAGS="${CFLAGS} -m64"
283 CFLAGS="$CFLAGS -xarch=amd64" ;;
286 CFLAGS="$CFLAGS -xarch=v9" ;;
291 SunOS\ 4*) SFLAGS=${CFLAGS-"-O2 -PIC"}
292 CFLAGS=${CFLAGS-"-O2"}
294 SunStudio\ 9*) SFLAGS=${CFLAGS-"-fast -xcode=pic32 -xtarget=ultra3 -xarch=v9b"}
295 CFLAGS=${CFLAGS-"-fast -xtarget=ultra3 -xarch=v9b"}
298 SFLAGS=${CFLAGS-"-KPIC -O"}
299 CFLAGS=${CFLAGS-"-O"}
302 SFLAGS=${CFLAGS-"-Kconform_pic -O"}
303 CFLAGS=${CFLAGS-"-O"}
306 SFLAGS=${CFLAGS-"-KPIC -O"}
307 CFLAGS=${CFLAGS-"-O"}
310 SFLAGS=${CFLAGS-"-O -qmaxmem=8192"}
311 CFLAGS=${CFLAGS-"-O -qmaxmem=8192"}
314 *) SFLAGS=${CFLAGS-"-O"}
315 CFLAGS=${CFLAGS-"-O"}
332 if ($CC -c $CFLAGS $test.c) 2>/dev/null; then
368 if try $CC -c $CFLAGS $test.c; then
392 echo 'No shared library support; try without defining CC and CFLAGS' | tee -a configure.log
411 case $CFLAGS in
430 if try $CC -c $CFLAGS -D_LARGEFILE64_SOURCE=1 $test.c; then
431 CFLAGS="${CFLAGS} -D_LARGEFILE64_SOURCE=1"
447 if try $CC $CFLAGS -o $test $test.c; then
450 CFLAGS="${CFLAGS} -DNO_FSEEKO"
464 if try $CC $CFLAGS -o $test $test.c; then
467 CFLAGS="${CFLAGS} -DNO_STRERROR"
482 if try $CC -c $CFLAGS $test.c; then
497 if try $CC -c $CFLAGS $test.c; then
526 CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage"
550 if try $CC -c $CFLAGS $test.c; then
571 if try $CC $CFLAGS -o $test $test.c; then
594 if try $CC -c $CFLAGS $test.c; then
597 CFLAGS="$CFLAGS -DHAS_vsnprintf_void"
605 CFLAGS="$CFLAGS -DNO_vsnprintf"
632 if try $CC -c $CFLAGS $test.c; then
635 CFLAGS="$CFLAGS -DHAS_vsprintf_void"
661 if try $CC $CFLAGS -o $test $test.c; then
678 if try $CC -c $CFLAGS $test.c; then
681 CFLAGS="$CFLAGS -DHAS_snprintf_void"
689 CFLAGS="$CFLAGS -DNO_snprintf"
710 if try $CC -c $CFLAGS $test.c; then
713 CFLAGS="$CFLAGS -DHAS_sprintf_void"
734 if tryboth $CC -c $CFLAGS $test.c; then
735 CFLAGS="$CFLAGS -DHAVE_HIDDEN"
749 echo CFLAGS = $CFLAGS >> configure.log
778 /^CFLAGS *=/s#=.*#=$CFLAGS#
808 /^CFLAGS *=/s#=.*#=$CFLAGS#