Skip to content

Commit

Permalink
Perftest: enable inherit environment LDFLAGS
Browse files Browse the repository at this point in the history
Sometimes, it needs to use environment to specify the library path
to be linked during development stage if the library doesn't exist
in system installed path. enable inherit environment LDFLAGS in configure
to support it.

Signed-off-by: Liu, Changcheng <changcheng.liu@aliyun.com>
  • Loading branch information
changchengx committed Jan 10, 2023
1 parent 26d4c99 commit f2aacc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ if [test $HAVE_MLX5DV_LIB = yes] && [test $HAVE_MLX5DV = yes]; then
fi

CFLAGS="-g -Wall -D_GNU_SOURCE -O3 $CFLAGS"
LDFLAGS="$LDFLAGS"
LIBS=$LIBS" -lpthread"
AC_SUBST([LIBUMAD])
AC_SUBST([LIBMATH])
Expand Down

0 comments on commit f2aacc5

Please sign in to comment.