Skip to content

Commit

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

# nearbyintf() in 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

0 comments on commit 6f8b34f

Please sign in to comment.