Flag for Position Independent Code

This commit is contained in:
Reinis Muiznieks 2022-12-07 14:44:58 +02:00 committed by Georgi Gerganov
parent 56822621a8
commit 0f98755fc5

View File

@ -27,8 +27,8 @@ endif
# Compile flags
#
CFLAGS = -I. -O3 -std=c11
CXXFLAGS = -I. -I./examples -O3 -std=c++11
CFLAGS = -I. -O3 -std=c11 -fPIC
CXXFLAGS = -I. -I./examples -O3 -std=c++11 -fPIC
LDFLAGS =
# OS specific