diff --git a/tvision.changes b/tvision.changes index 931db59..d43e13f 100644 --- a/tvision.changes +++ b/tvision.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun May 19 10:24:57 UTC 2024 - Julius Enriquez + +- Add CMake position-independent code build flag for libtvision.a + +------------------------------------------------------------------- +Sat May 18 15:57:12 UTC 2024 - Julius Enriquez + +- Add -fPIC cflag for libtvision.a- + ------------------------------------------------------------------- Fri May 17 06:08:53 UTC 2024 - Jan Engelhardt diff --git a/tvision.spec b/tvision.spec index 05e24fb..3ab5bd1 100644 --- a/tvision.spec +++ b/tvision.spec @@ -85,7 +85,9 @@ with Unicode support. # Disable LTO due to a lto-no-text-in-archive problem with libtvision.a %global _lto_cflags %nil -%cmake +# Add CMake flag to let libtvision.a be used properly as a shared lib + +%cmake -DCMAKE_POSITION_INDEPENDENT_CODE=ON %cmake_build %install