Logoj0ke.net Open Build Service > Projects > home:netmax > PDFlib-Lite > Changes
Sign Up | Log In

Changes of Revision 20

[-] Changed PDFlib-Lite.spec
x
 
1
@@ -93,6 +93,23 @@
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