Skip to content
Snippets Groups Projects
Commit b0db51a2 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: freetype: build with PIC

I got a Linux x86-64 build complaining it was not built with PIC.

/usr/bin/ld: /root/build/contrib/x86_64-linux-gnu/lib/libfreetype.a(truetype.c.o): warning: relocation against `TT_RunIns' in read-only section `.text'
/usr/bin/ld: /root/build/contrib/x86_64-linux-gnu/lib/libfreetype.a(truetype.c.o): relocation R_X86_64_PC32 against symbol `TT_RunIns' can not be used when making a shared object; recompile with -fPIC
parent 0418ee70
No related branches found
No related tags found
Loading
Pipeline #283937 canceled with stages
in 49 minutes and 1 second
......@@ -29,7 +29,7 @@ ifndef AD_CLAUSES
$(REQUIRE_GPL)
endif
$(CMAKECLEAN)
$(HOSTVARS) $(CMAKE) $(FREETYPE_CONF)
$(HOSTVARS) $(CMAKE_PIC) $(FREETYPE_CONF)
+$(CMAKEBUILD)
$(CMAKEINSTALL)
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment