summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5de9f576..df7e4049 100644
--- a/Makefile
+++ b/Makefile
@@ -259,7 +259,7 @@ CFLAGS += -MMD -MF $@.d
ifeq (${FIRMWARE_ARCH},)
# Creates position independent code for non firmware target.
-CFLAGS += -fPIE
+CFLAGS += -fPIC
endif
CFLAGS += -D_GNU_SOURCE