Changes of Revision 27
[-] | Changed | PDFlib-Lite.spec |
x 1
2 %build 3 . %{_libdir}/tclConfig.sh 4 export 5 -%if 0%{?suse_version} >= 1030 6 -%ifarch x86_64 7 -%define build_host x86_64-unknown-linux 8 -CFLAGS="" CXXFLAGS="" \ 9 -%else 10 -%define build_host i386-unknown-linux 11 -CFLAGS="" CXXFLAGS="" \ 12 -%endif 13 -%else 14 -%ifarch x86_64 15 -%define build_host x86_64-unknown-linux 16 -CFLAGS="%{optflags} -m64 -g" CXXFLAGS="%{optflags} -m64" \ 17 -%else 18 -%define build_host i386-unknown-linux 19 -CFLAGS="%{optflags} -m32 -g" CXXFLAGS="%{optflags} -m32" \ 20 -%endif 21 -%endif 22 ./configure --enable-cxx \ 23 --with-perl=%{_bindir}/perl \ 24 --with-py=%{_bindir} \ 25 |
||
[+] | Added | backup ^ |
@@ -0,0 +1,18 @@ +%if 0%{?suse_version} >= 1030 +%ifarch x86_64 +%define build_host x86_64-unknown-linux +CFLAGS="" CXXFLAGS="" \ +%else +%define build_host i386-unknown-linux +CFLAGS="" CXXFLAGS="" \ +%endif +%else +%ifarch x86_64 +%define build_host x86_64-unknown-linux +CFLAGS="%{optflags} -m64 -g" CXXFLAGS="%{optflags} -m64" \ +%else +%define build_host i386-unknown-linux +CFLAGS="%{optflags} -m32 -g" CXXFLAGS="%{optflags} -m32" \ +%endif +%endif + |