SHA256
1
0
forked from pool/mupdf

Accepting request 173657 from Publishing

A hack to prevent 3d-party software linking error:
[ 2226s] Linking CXX shared library libleechcraft_monocle_mu.so
[ 2226s] /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libfitz.a(dev_null.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
[ 2226s] /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../lib64/libfitz.a: could not read symbols: Bad value
[ 2226s] collect2: error: ld returned 1 exit status
[ 2226s] make[2]: *** [plugins/monocle/plugins/mu/libleechcraft_monocle_mu.so] Error 1
[ 2226s] make[1]: *** [plugins/monocle/plugins/mu/CMakeFiles/leechcraft_monocle_mu.dir/all] Error 2
[ 2226s] make[1]: *** Waiting for unfinished jobs.... (forwarded request 173632 from DarkSS)

OBS-URL: https://build.opensuse.org/request/show/173657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2013-04-29 12:07:16 +00:00 committed by Git OBS Bridge
commit 9083f4ff24
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Apr 28 10:28:56 UTC 2013 - dap.darkness@gmail.com
- Fixed "ld: relocation R_X86_64_32 against `.rodata' can not
be used when making a shared object; recompile with -fPIC".
-------------------------------------------------------------------
Fri Apr 5 17:31:25 UTC 2013 - gber@opensuse.org

View File

@ -65,6 +65,7 @@ based on mupdf.
rm -rf thirdparty
%build
export CFLAGS="%{optflags} -fPIC"
export XCFLAGS="%{optflags}"
make %{?_smp_mflags} verbose=1
ls -1 build/debug