Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wim Lewis
nettle
Commits
4603a542
Commit
4603a542
authored
Sep 20, 2010
by
Niels Möller
Browse files
Less quoting when invoking $CC, to allow CC="gcc -m32".
Rev: nettle/configure.ac:1.24
parent
8c948ab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
4603a542
...
...
@@ -525,14 +525,14 @@ AC_SUBST(OPENSSL_LIBFLAGS)
# Set these flags *last*, or else the test programs won't compile
if test x$GCC = xyes ; then
# 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
else
CFLAGS="$CFLAGS -ggdb3"
fi
# FIXME: It would be better to actually test if this option works and/or is needed.
# 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"
fi
CFLAGS="$CFLAGS -Wall -W \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment