Skip to content

Commit

Permalink
build: Remove useless code in opal_mca.m4
Browse files Browse the repository at this point in the history
Remove an environment variable that probably did something at one
point, but is dead code now.  Git history is hard to follow due
to some reverts in the SVN days.

Signed-off-by: Brian Barrett <bbarrett@amazon.com>
  • Loading branch information
bwbarrett committed Oct 28, 2020
1 parent db8a14c commit ea63361
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions config/opal_mca.m4
Original file line number Diff line number Diff line change
Expand Up @@ -705,15 +705,12 @@ AC_DEFUN([MCA_COMPONENT_COMPILE_MODE],[
[str="STATIC_COMPONENT=\$STATIC_$2_$3"
eval $str])
shared_mode_override=static
# Setup for either shared or static
if test "$STATIC_FRAMEWORK" = "1" || \
test "$STATIC_COMPONENT" = "1" || \
test "$STATIC_all" = "1" ; then
$4="static"
elif test "$shared_mode_override" = "dso" || \
test "$SHARED_FRAMEWORK" = "1" || \
elif test "$SHARED_FRAMEWORK" = "1" || \
test "$SHARED_COMPONENT" = "1" || \
test "$DSO_all" = "1"; then
$4="dso"
Expand Down

0 comments on commit ea63361

Please sign in to comment.