summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-25 06:10:43 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-25 06:10:43 +0300
commitffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa (patch)
treefc22e5780076268e7d897d1beab812c7728ef8d4
parent449d374837d845c7a8b78bf38695b511f23fe340 (diff)
downloadevol-hercules-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.tar.gz
evol-hercules-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.tar.bz2
evol-hercules-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.tar.xz
evol-hercules-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.zip
Add -lm to linking flags for fix clang compilation errors.
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 32eaf7c..d17cc8a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -140,7 +140,7 @@ SHARED_CFLAGS = ${CFLAGS} -O3 -pipe -ffast-math -std=c11 -Wall -Wextra -Wno-sign
-DPCRE_SUPPORT -I../../.. -I../../../../3rdparty \
-DPACKETVER=20150513 \
-DevolPacketOffset=0
-SHARED_LDFLAGS = -avoid-version -Wl,--no-undefined
+SHARED_LDFLAGS = -lm -avoid-version -Wl,--no-undefined
if ENABLE_STATIC_BUILD
SHARED_CFLAGS += "-static-libgcc"