aboutsummaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-04-22 01:39:12 -0400
committerPaul Selkirk <paul@psgd.org>2015-04-22 01:39:12 -0400
commitd07c710e9a82c46e20bc8262308117edf7a0ca11 (patch)
tree8c8e1af6f206e323c533ad53f7f762561a441485 /sw
parent2de0824f026172dafe9f83564c66df12d5f1da64 (diff)
Make position-independent libraries for cryptlib.
Diffstat (limited to 'sw')
-rwxr-xr-xsw/Makefile2
-rwxr-xr-xsw/Makefile.i2c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/Makefile b/sw/Makefile
index 93976d7..0dbd61a 100755
--- a/sw/Makefile
+++ b/sw/Makefile
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -Wall
+CFLAGS = -Wall -fPIC
LIB = libcryptech.a
BIN = hash hash_tester trng_extractor trng_tester
diff --git a/sw/Makefile.i2c b/sw/Makefile.i2c
index fa136a4..98cd541 100755
--- a/sw/Makefile.i2c
+++ b/sw/Makefile.i2c
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -Wall
+CFLAGS = -Wall -fPIC
LIB = libcryptech_i2c.a
BIN = hash_i2c hash_tester_i2c trng_extractor_i2c trng_tester_i2c