Skip to content

Commit

Permalink
Fix -lm more.
Browse files Browse the repository at this point in the history
  • Loading branch information
JereLeppanen committed Aug 14, 2024
1 parent 343892b commit fe0d43c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions platform/linux-dpdk/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ AM_CPPFLAGS += $(OPENSSL_CPPFLAGS)
AM_CFLAGS += $(DPDK_CFLAGS)
AM_CFLAGS += $(LIBCONFIG_CFLAGS)

# needed by odp_ml_quantize.c
AM_LDFLAGS += -lm

DISTCLEANFILES = include/odp_libconfig_config.h
include/odp_libconfig_config.h: $(top_builddir)/$(rel_default_config_path) $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
Expand Down
2 changes: 1 addition & 1 deletion platform/linux-dpdk/m4/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ DPDK_CFLAGS="${DPDK_CFLAGS} -DALLOW_EXPERIMENTAL_API"
# after DPDK check.
ODP_ML

AS_VAR_APPEND([PLAT_DEP_LIBS], ["${ATOMIC_LIBS} ${LIBCONFIG_LIBS} ${OPENSSL_LIBS} ${DPDK_LIBS_LT} ${LIBCLI_LIBS} ${ML_LIBS}"])
AS_VAR_APPEND([PLAT_DEP_LIBS], ["${ATOMIC_LIBS} ${LIBCONFIG_LIBS} ${OPENSSL_LIBS} ${DPDK_LIBS_LT} ${LIBCLI_LIBS}"])

# Add text to the end of configure with platform specific settings.
# Make sure it's aligned same as other lines in configure.ac.
Expand Down

0 comments on commit fe0d43c

Please sign in to comment.