summaryrefslogtreecommitdiff
path: root/Makefile.linux
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-16 14:47:48 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-16 14:47:48 -0400
commit4f53d09c7e446e20e0a8da3bdb6bdc5b138cf55c (patch)
tree8aead771147f1279d77dd0a6f2e108b20bc70e92 /Makefile.linux
parente376c6f6a989d99d873918b349405302b62403a5 (diff)
downloadinfinitytier-4f53d09c7e446e20e0a8da3bdb6bdc5b138cf55c.tar.gz
infinitytier-4f53d09c7e446e20e0a8da3bdb6bdc5b138cf55c.zip
Build fix for 32-bit Linux and tweaks to address derivation algorithm.
Diffstat (limited to 'Makefile.linux')
-rw-r--r--Makefile.linux15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile.linux b/Makefile.linux
index 0ebc5ae8..1f27194a 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -6,21 +6,16 @@ ARCH=$(shell uname -m)
DEFS=-DZT_ARCH="$(ARCH)" -DZT_OSNAME="linux" -DZT_TRACE
# Uncomment for a release optimized build
-#CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
-#STRIP=strip --strip-all
+CFLAGS=-Wall -O3 -fno-unroll-loops -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
+STRIP=strip --strip-all
# Uncomment for a debug build
-CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE $(DEFS)
-STRIP=echo
+#CFLAGS=-Wall -g -pthread $(INCLUDES) -DZT_TRACE $(DEFS)
+#STRIP=echo
CXXFLAGS=$(CFLAGS) -fno-rtti
-# We statically link against libcrypto because RedHat-derived distributions do
-# not ship the elliptic curve algorithms. If we didn't we'd have to build
-# separate binaries for the RedHat and Debian universes to distribute via
-# auto-update. This way we get one Linux binary for all systems of a given
-# architecture.
-LIBS=ext/bin/libcrypto/linux-$(ARCH)/libcrypto.a -lm -ldl
+LIBS=-lm
include objects.mk