SPECS: rt2400.spec - moved BUGFLAGS to proper place - ppc* cleanup
qboosh
qboosh at pld-linux.org
Tue Mar 14 20:31:29 CET 2006
Author: qboosh Date: Tue Mar 14 19:31:29 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- moved BUGFLAGS to proper place
- ppc* cleanup
---- Files affected:
SPECS:
rt2400.spec (1.35 -> 1.36)
---- Diffs:
================================================================
Index: SPECS/rt2400.spec
diff -u SPECS/rt2400.spec:1.35 SPECS/rt2400.spec:1.36
--- SPECS/rt2400.spec:1.35 Tue Mar 14 20:06:06 2006
+++ SPECS/rt2400.spec Tue Mar 14 20:31:24 2006
@@ -97,19 +97,21 @@
#%{__make} LDFLAGS="%{rpmldflags}" CXXFLAGS="%{rpmcflags}"
mv Makefile Makefile.orig
sed -e 's/lqt/lqt-mt/g' Makefile.orig > Makefile
-%ifarch sparc
- # workaround for (probably GCC) bug on sparc:
- # `unable to find a register to spill in class `FP_REGS''
- BUGFLAGS="-fno-schedule-insns"
-%endif
%{__make} \
- CXXFLAGS="%{rpmcflags} %(pkg-config qt-mt --cflags) $BUGFLAGS" \
+ CXXFLAGS="%{rpmcflags} %(pkg-config qt-mt --cflags)" \
LDFLAGS="%{rpmldflags}" \
QTDIR="%{_prefix}"
cd ..
%endif
%if %{with kernel}
+%ifarch sparc
+ # workaround for (probably GCC) bug on sparc:
+ # `unable to find a register to spill in class `FP_REGS''
+ BUGFLAGS="-fno-schedule-insns"
+%else
+ BUGFLAGS=
+%endif
# kernel module(s)
cd Module
for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
@@ -127,13 +129,6 @@
touch o/include/config/MARKER
ln -sf %{_kernelsrcdir}/scripts o/scripts
%endif
-%ifarch ppc ppc64
- install -d o/include/asm
- [ ! -d %{_kernelsrcdir}/include/asm-powerpc ] || ln -sf %{_kernelsrcdir}/include/asm-powerpc/* o/include/asm
- [ ! -d %{_kernelsrcdir}/include/asm-%{_target_base_arch} ] || ln -snf %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* o/include/asm
-%else
- ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} o/include/asm
-%endif
%{__make} -C %{_kernelsrcdir} clean \
RCS_FIND_IGNORE="-name '*.ko' -o" \
SYSSRC=%{_kernelsrcdir} \
@@ -141,7 +136,7 @@
M=$PWD O=$PWD/o \
%{?with_verbose:V=1}
%{__make} -C %{_kernelsrcdir} modules \
- CC="%{__cc}" CPP="%{__cpp}" \
+ CC="%{__cc} $BUGFLAGS" CPP="%{__cpp}" \
SYSSRC=%{_kernelsrcdir} \
SYSOUT=$PWD/o \
M=$PWD O=$PWD/o \
@@ -210,6 +205,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.36 2006/03/14 19:31:24 qboosh
+- moved BUGFLAGS to proper place
+- ppc* cleanup
+
Revision 1.35 2006/03/14 19:06:06 radek
- -fno-schedule-insns on sparc as workaround for (gcc?) bug
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/rt2400.spec?r1=1.35&r2=1.36&f=u
More information about the pld-cvs-commit
mailing list