[ofa-general] ***SPAM*** [PATCH] opensm/configure.in: don't touch CFLAGS directly

Sasha Khapyorsky sashak at voltaire.com
Fri Jul 25 20:32:51 PDT 2008


Using this CFLAGS=$ac_env_CFLAGS_value is preventing -O2 from default
CFLAGS.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/configure.in |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/opensm/configure.in b/opensm/configure.in
index a4f5b61..7d04c14 100644
--- a/opensm/configure.in
+++ b/opensm/configure.in
@@ -216,12 +216,6 @@ dnl Checks for headers and libraries
 OPENIB_APP_OSMV_CHECK_HEADER
 OPENIB_APP_OSMV_CHECK_LIB
 
-# we have to revive the env CFLAGS as some how they are being overwritten...
-# see http://sources.redhat.com/automake/automake.html#Flag-Variables-Ordering
-# for why they should NEVER be modified by the configure to allow for user
-# overrides.
-CFLAGS=$ac_env_CFLAGS_value
-
 AC_CONFIG_FILES([man/opensm.8 scripts/opensm.init scripts/redhat-opensm.init scripts/sldd.sh])
 
 dnl Create the following Makefiles
-- 
1.5.5.1.178.g1f811




More information about the general mailing list