SPECS (AC-branch): libselinux.spec - gcc 3.3 compability

zbyniu zbyniu at pld-linux.org
Wed Jan 17 12:54:40 CET 2007


Author: zbyniu                       Date: Wed Jan 17 11:54:40 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- gcc 3.3 compability

---- Files affected:
SPECS:
   libselinux.spec (1.52 -> 1.52.2.1) 

---- Diffs:

================================================================
Index: SPECS/libselinux.spec
diff -u SPECS/libselinux.spec:1.52 SPECS/libselinux.spec:1.52.2.1
--- SPECS/libselinux.spec:1.52	Fri Jan 12 10:15:38 2007
+++ SPECS/libselinux.spec	Wed Jan 17 12:54:35 2007
@@ -14,6 +14,7 @@
 Source0:	http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
 # Source0-md5:	eac812a6f35e0e04ddad307abd21d014
 Patch0:		%{name}-vcontext-selinux.patch
+Patch1:		%{name}-thread.patch
 URL:		http://www.nsa.gov/selinux/
 BuildRequires:	glibc-devel >= 6:2.3
 BuildRequires:	libsepol-devel >= 1.14
@@ -113,6 +114,9 @@
 %prep
 %setup -q
 %patch0 -p1
+%ifarch sparc sparc32 sparc64
+%patch1 -p1
+%endif
 
 # "-z defs" doesn't mix with --as-needed when some object needs symbols from
 # ld.so (because of __thread variable in this case)
@@ -123,7 +127,8 @@
 	CC="%{__cc}" \
 	LDFLAGS="%{rpmldflags}" \
 	CFLAGS="%{rpmcflags} -D_FILE_OFFSET_BITS=64" \
-	LIBDIR=%{_libdir}
+	LIBDIR=%{_libdir} \
+	TLSFLAGS=""
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -176,6 +181,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52.2.1  2007/01/17 11:54:35  zbyniu
+- gcc 3.3 compability
+
 Revision 1.52  2007/01/12 09:15:38  zbyniu
 - support for capability context from vserver in selinux
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libselinux.spec?r1=1.52&r2=1.52.2.1&f=u



More information about the pld-cvs-commit mailing list