forked from pool/tvision
Accepting request 1175377 from home:win8linux
The following change allows the Turbo Vision library to be used by other applications: - Add CMake position-independent code build flag for libtvision.a OBS-URL: https://build.opensuse.org/request/show/1175377 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tvision?expand=0&rev=3
This commit is contained in:
parent
748313f9ce
commit
d1a9ebefe5
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 19 10:24:57 UTC 2024 - Julius Enriquez <win8linux@gmail.com>
|
||||||
|
|
||||||
|
- Add CMake position-independent code build flag for libtvision.a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 18 15:57:12 UTC 2024 - Julius Enriquez <win8linux@gmail.com>
|
||||||
|
|
||||||
|
- Add -fPIC cflag for libtvision.a-
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 17 06:08:53 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Fri May 17 06:08:53 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -85,7 +85,9 @@ with Unicode support.
|
|||||||
# Disable LTO due to a lto-no-text-in-archive problem with libtvision.a
|
# Disable LTO due to a lto-no-text-in-archive problem with libtvision.a
|
||||||
%global _lto_cflags %nil
|
%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
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user