summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-15 19:54:14 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-15 19:54:14 -0400
commit1ddad9f519596d815772db1d4634fab0264bbcd5 (patch)
treec612d586377668f7ab0b6894a6df79bf135c86dc
parentdc0619b0df46739db4a82ea6068ae69289f6f693 (diff)
add -fPIC
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7495ef9..8c5dbdd3 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
AR=ar
ARFLAGS=rU
-BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -fno-builtin -fno-stack-protector -Iinclude -Isrc
+BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -fno-builtin -fno-stack-protector -fPIC -Iinclude -Isrc
OBJDIR=obj
SRCDIR=src