Browse Source

Fix build by removing vendor-specific hardcoded compiler options

master
Michael Schloh von Bennewitz 23 years ago committed by Ralf S. Engelschall
parent
commit
ebcb6424e1
  1. 8
      xaw3d/xaw3d.spec

8
xaw3d/xaw3d.spec

@ -42,7 +42,7 @@ Distribution: OpenPKG [EVAL]
Group: XWindow
License: GPL
Version: 1.5
Release: 20030408
Release: 20030704
# list of sources
Source0: ftp://ftp.x.org/contrib/widgets/Xaw3d/R6.3/Xaw3d-%{version}.tar.gz
@ -79,6 +79,12 @@ AutoReqProv: no
%{l_make} %{l_mflags -O} Makefiles
%{l_shtool} subst \
-e 's; -M mapfile;;g' \
-e 's;\(PICFLAGS =.*\) -Kpic\(.*\)$;\1\2;g' \
-e 's;\(CCOPTIONS =.*\) -Xc\(.*\)$;\1\2;g' \
-e 's;\(CCOPTIONS =.*\) -x.*\(.*\)$;\1\2;g' \
-e 's;\(CCOPTIONS =.*\) -x.*\(.*\)$;\1\2;g' \
-e 's;\(CCOPTIONS =.*\) -x.*\(.*\)$;\1\2;g' \
-e 's;\(CCOPTIONS =.*\) -x.*\(.*\)$;\1\2;g' \
Makefile
%{l_make} %{l_mflags -O} LD=ld
if [ ! -f libXaw3d.a ]; then

Loading…
Cancel
Save