aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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