]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
Flag for Position Independent Code
authorReinis Muiznieks <redacted>
Wed, 7 Dec 2022 12:44:58 +0000 (14:44 +0200)
committerGeorgi Gerganov <redacted>
Thu, 8 Dec 2022 17:41:01 +0000 (19:41 +0200)
Makefile

index 57693b2428f7b75e67d54fc373b9f90b8d7a6cb3..b33979efee2ac0c4f82aaf20e92a79f376dbb12a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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