Commit 4603a542 authored by Niels Möller's avatar Niels Möller
Browse files

Less quoting when invoking $CC, to allow CC="gcc -m32".

Rev: nettle/configure.ac:1.24
parent 8c948ab8
...@@ -525,14 +525,14 @@ AC_SUBST(OPENSSL_LIBFLAGS) ...@@ -525,14 +525,14 @@ AC_SUBST(OPENSSL_LIBFLAGS)
# Set these flags *last*, or else the test programs won't compile # Set these flags *last*, or else the test programs won't compile
if test x$GCC = xyes ; then if test x$GCC = xyes ; then
# Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core
if "$CC" --version | grep '^2\.96$' 1>/dev/null 2>&1; then if $CC --version | grep '^2\.96$' 1>/dev/null 2>&1; then
true true
else else
CFLAGS="$CFLAGS -ggdb3" CFLAGS="$CFLAGS -ggdb3"
fi fi
# FIXME: It would be better to actually test if this option works and/or is needed. # FIXME: It would be better to actually test if this option works and/or is needed.
# Or perhaps use -funsigned-char. # Or perhaps use -funsigned-char.
if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then if $CC --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
CFLAGS="$CFLAGS -Wno-pointer-sign" CFLAGS="$CFLAGS -Wno-pointer-sign"
fi fi
CFLAGS="$CFLAGS -Wall -W \ CFLAGS="$CFLAGS -Wall -W \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment