|
|
655367 |
From 7dada62a77e061c752123e672e844386ff3b01ea Mon Sep 17 00:00:00 2001
|
|
|
655367 |
From: Stephen Gallagher <sgallagh@redhat.com>
|
|
|
655367 |
Date: Wed, 10 Apr 2013 12:32:44 -0400
|
|
|
655367 |
Subject: [PATCH] Use RPM compiler options
|
|
|
655367 |
|
|
|
655367 |
---
|
|
|
655367 |
m4/cares-compilers.m4 | 19 ++++++-------------
|
|
|
655367 |
1 file changed, 6 insertions(+), 13 deletions(-)
|
|
|
655367 |
|
|
|
655367 |
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4
|
|
|
655367 |
index 7ee8e0dbe741c1a64149a0d20b826f507b3ec620..d7708230fb5628ae80fbf1052da0d2c78ebbc160 100644
|
|
|
655367 |
--- a/m4/cares-compilers.m4
|
|
|
655367 |
+++ b/m4/cares-compilers.m4
|
|
|
655367 |
@@ -143,19 +143,12 @@ AC_DEFUN([CARES_CHECK_COMPILER_GNU_C], [
|
|
|
655367 |
gccvhi=`echo $gccver | cut -d . -f1`
|
|
|
655367 |
gccvlo=`echo $gccver | cut -d . -f2`
|
|
|
655367 |
compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
|
|
|
655367 |
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -ggdb"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -gstabs"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -gstabs+"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -gcoff"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -gxcoff"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -gdwarf-2"
|
|
|
655367 |
- flags_dbg_all="$flags_dbg_all -gvms"
|
|
|
655367 |
- flags_dbg_yes="-g"
|
|
|
655367 |
- flags_dbg_off="-g0"
|
|
|
655367 |
- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
|
|
|
655367 |
- flags_opt_yes="-O2"
|
|
|
655367 |
- flags_opt_off="-O0"
|
|
|
655367 |
+ flags_dbg_all=""
|
|
|
655367 |
+ flags_dbg_yes=""
|
|
|
655367 |
+ flags_dbg_off=""
|
|
|
655367 |
+ flags_opt_all=""
|
|
|
655367 |
+ flags_opt_yes=""
|
|
|
655367 |
+ flags_opt_off=""
|
|
|
655367 |
CURL_CHECK_DEF([_WIN32], [], [silent])
|
|
|
655367 |
else
|
|
|
655367 |
AC_MSG_RESULT([no])
|
|
|
655367 |
--
|
|
|
655367 |
1.8.1.4
|