Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Created September 8, 2020 05:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hiroyuki-sato/acac744b0c0a08d62357008d82e54864 to your computer and use it in GitHub Desktop.
src/ucm/configure.m4
#
# Copyright (C) Mellanox Technologies Ltd. 2001-2018.  ALL RIGHTS RESERVED.
#
# See file LICENSE for terms.
#

case $host_os in
    darwin*)
        AC_SUBST([UCM_MODULE_LDFLAGS],
                 ["-hogehoge"])
        ;;
    *)
        AC_SUBST([UCM_MODULE_LDFLAGS],
                 ["-Xlinker -z -Xlinker interpose -Xlinker --no-as-needed"])
        ;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment