drop a compiler wrapper no longer needed
This commit is contained in:
parent
8a3609c551
commit
db9514fcb7
14
lynx.spec
14
lynx.spec
@ -64,19 +64,6 @@ perl -pi -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html
|
||||
%endif
|
||||
|
||||
%build
|
||||
export PATH=`pwd`:$PATH
|
||||
cat >gcc <<EOF
|
||||
#!/bin/sh
|
||||
ARGS=""
|
||||
while [ \$# != 0 ]; do
|
||||
if [ \$1 != "-I/usr/include" -a \$1 != "-I/usr/include/" ]; then
|
||||
ARGS="\$ARGS \$1"
|
||||
fi
|
||||
shift
|
||||
done
|
||||
exec /usr/bin/gcc \$ARGS
|
||||
EOF
|
||||
chmod 0755 gcc
|
||||
CFLAGS="-ggdb $RPM_OPT_FLAGS -DNCURSES -DNCURSES_MOUSE_VERSION" ; export CFLAGS
|
||||
CXXFLAGS="-ggdb $RPM_OPT_FLAGS -DNCURSES -DNCURSES_MOUSE_VERSION" ; export CXXFLAGS
|
||||
if pkg-config openssl ; then
|
||||
@ -143,6 +130,7 @@ EOF
|
||||
%changelog
|
||||
* Wed Jan 28 2015 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.5.dev4
|
||||
- update to the latest upstream pre-release
|
||||
- drop a compiler wrapper no longer needed
|
||||
|
||||
* Mon Jan 05 2015 Kamil Dudka <kdudka@redhat.com> - 2.8.9-0.4.dev2
|
||||
- update to the latest upstream pre-release
|
||||
|
Loading…
Reference in New Issue
Block a user