[ofa-general] [PATCH] ibutils: remove -libcommon linkage flag

Sasha Khapyorsky sashak at voltaire.com
Thu Jan 8 11:15:11 PST 2009


Remove -libcommon linkage flag - libibumad doesn't depend from
libibcommon anymore and libibcommon will be removed from management tree
soon.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---

BTW, all osm.m4 files are equivalent under ibutils tree, IMHO it could
be useful to merge them.

 config/osm.m4          |    2 +-
 ibis/config/osm.m4     |    2 +-
 ibmgtsim/config/osm.m4 |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config/osm.m4 b/config/osm.m4
index da9ae81..f8d92d7 100644
--- a/config/osm.m4
+++ b/config/osm.m4
@@ -137,7 +137,7 @@ if test "x$libcheck" = "xtrue"; then
       elif test -L $with_osm_libs/libopensm.so; then
          OSM_VENDOR=openib
          osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
-         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad -libcommon"
+         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
       else
          AC_MSG_ERROR([OSM: Fail to recognize vendor type])
       fi
diff --git a/ibis/config/osm.m4 b/ibis/config/osm.m4
index da9ae81..f8d92d7 100644
--- a/ibis/config/osm.m4
+++ b/ibis/config/osm.m4
@@ -137,7 +137,7 @@ if test "x$libcheck" = "xtrue"; then
       elif test -L $with_osm_libs/libopensm.so; then
          OSM_VENDOR=openib
          osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
-         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad -libcommon"
+         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
       else
          AC_MSG_ERROR([OSM: Fail to recognize vendor type])
       fi
diff --git a/ibmgtsim/config/osm.m4 b/ibmgtsim/config/osm.m4
index da9ae81..f8d92d7 100644
--- a/ibmgtsim/config/osm.m4
+++ b/ibmgtsim/config/osm.m4
@@ -137,7 +137,7 @@ if test "x$libcheck" = "xtrue"; then
       elif test -L $with_osm_libs/libopensm.so; then
          OSM_VENDOR=openib
          osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
-         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad -libcommon"
+         OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
       else
          AC_MSG_ERROR([OSM: Fail to recognize vendor type])
       fi
-- 
1.6.1.rc1.45.g123ed




More information about the general mailing list