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:
commit
9083f4ff24
@ -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
|
Fri Apr 5 17:31:25 UTC 2013 - gber@opensuse.org
|
||||||
|
|
||||||
|
@ -65,6 +65,7 @@ based on mupdf.
|
|||||||
rm -rf thirdparty
|
rm -rf thirdparty
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export CFLAGS="%{optflags} -fPIC"
|
||||||
export XCFLAGS="%{optflags}"
|
export XCFLAGS="%{optflags}"
|
||||||
make %{?_smp_mflags} verbose=1
|
make %{?_smp_mflags} verbose=1
|
||||||
ls -1 build/debug
|
ls -1 build/debug
|
||||||
|
Loading…
Reference in New Issue
Block a user