Changeset 27398


Ignore:
Timestamp:
11/19/22 18:37:27 (2 years ago)
Author:
jdquinn
Message:

CHG: Apply compact unbind warning suppression only to Mac builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r27397 r27398  
    200200                        export CFLAGS="-Wno-deprecated-register -Wno-return-type"
    201201                        export CXXFLAGS="-Wno-deprecated-register -Wno-return-type"
     202                        if test "${LDFLAGS}" == ""; then
     203                                export LDFLAGS="-Wl,-no_compact_unwind"
     204                        else
     205                                export LDFLAGS="${LDFLAGS} -Wl,-no_compact_unwind"
     206                        fi
    202207                ;;
    203208                *)
     
    337342                export CXXFLAGS="-std=C++11"
    338343        fi
    339         dnl Fix for compact unwind warning
    340         if test "${LDFLAGS}" == ""; then
    341                 LDFLAGS="-Wl,-no_compact_unwind"
    342         else
    343                 LDFLAGS="${LDFLAGS} -Wl,-no_compact_unwind"
    344         fi
    345344        AC_SUBST([OSLIBS])
    346345        AC_MSG_RESULT([done])
Note: See TracChangeset for help on using the changeset viewer.