diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-09-25 06:10:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-09-25 06:10:43 +0300 |
commit | ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa (patch) | |
tree | fc22e5780076268e7d897d1beab812c7728ef8d4 /src | |
parent | 449d374837d845c7a8b78bf38695b511f23fe340 (diff) | |
download | plugin-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.tar.gz plugin-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.tar.bz2 plugin-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.tar.xz plugin-ffbb2db6b0f63743b3e8ebb5534fb999c7e1d0fa.zip |
Add -lm to linking flags for fix clang compilation errors.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 |
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" |