aboutsummaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/Makefile b/utils/Makefile
index ad4bc5c..6713850 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -9,8 +9,11 @@ CC = $(CROSS_COMPILE)gcc
CFLAGS += -Wall -Wextra -Werror -Wfatal-errors
CFLAGS += -I ../include
CFLAGS += -L ../src
+CFLAGS += -fPIC
CFLAGS += -O2
+LDFLAGS += -pie
+
VPATH = ../src:../include/tinyalsa
.PHONY: all