summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-28 03:15:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-28 03:15:10 +0300
commitd37fe74804b94065259703509b4b3dc3f53c30a5 (patch)
tree4692e68597aa2fa0ddee2b1c5e8509e53b3d227c /src/Makefile.am
parent743d6dc3bd60dad0db53b19eacea333933d2f094 (diff)
downloadevol-hercules-d37fe74804b94065259703509b4b3dc3f53c30a5.tar.gz
evol-hercules-d37fe74804b94065259703509b4b3dc3f53c30a5.tar.bz2
evol-hercules-d37fe74804b94065259703509b4b3dc3f53c30a5.tar.xz
evol-hercules-d37fe74804b94065259703509b4b3dc3f53c30a5.zip
Rename static configure flag, look like clang have issues with this flag enabled.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 56c6887..25afa53 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -112,7 +112,7 @@ MAP_SRC = emap/atcommand.c \
# need remove -Wno-unused
-SHARED_CFLAGS = ${CFLAGS} -pipe -ffast-math -fvisibility=hidden -rdynamic -std=c99 -Wall -Wextra -Wno-sign-compare -Wno-unused \
+SHARED_CFLAGS = ${CFLAGS} -pipe -ffast-math -fvisibility=hidden -std=c99 -Wall -Wextra -Wno-sign-compare -Wno-unused \
-DPCRE_SUPPORT -I../../.. -I../../../../3rdparty -DPACKETVER=20150000
SHARED_LDFLAGS = -avoid-version -Wl,--no-undefined
@@ -134,7 +134,7 @@ SHARED_LDFLAGS += -lasan -lubsan -fsanitize=address \
-fsanitize=enum -fsanitize=vptr
endif
-if ENABLE_STATIC
+if ENABLE_STATIC_BUILD
SHARED_CFLAGS += "-static-libgcc"
endif