Skip to content
Snippets Groups Projects
Commit befd90d2 authored by Niels Möller's avatar Niels Möller
Browse files

Don't use -ggdb3 with gcc-2.96.

Rev: src/nettle/ChangeLog:1.101
Rev: src/nettle/configure.ac:1.7
parent 5f2be18e
Branches
Tags
No related merge requests found
2002-07-18 Niels Möller <niels@s3.kth.se>
* configure.ac: Don't use -ggdb3 with gcc-2.96.
2002-05-16 Niels Möller <nisse@cuckoo.hack.org>
* sparc/aes.asm: Deleted registers i and t3.
......
......@@ -108,7 +108,13 @@ LSH_RPATH_FIX
# Set these flags *last*, or else the test programs won't compile
if test x$GCC = xyes ; then
CFLAGS="$CFLAGS -ggdb3 -Wall -W \
# 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
true
else
CFLAGS="$CFLAGS -ggdb3"
fi
CFLAGS="$CFLAGS -Wall -W \
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \
-Wpointer-arith -Wbad-function-cast -Wnested-externs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment