| |
@@ -38,14 +38,15 @@
|
| |
|
| |
|
| |
%build
|
| |
+ %{set_build_flags}
|
| |
mv changes.txt changes.txt-orig
|
| |
iconv -f ISO-8859-1 -t UTF-8 changes.txt-orig > changes.txt
|
| |
rm -f changes.txt-orig
|
| |
# Not really designed to be build as lib, DYI
|
| |
for i in tinyxml.cpp tinystr.cpp tinyxmlerror.cpp tinyxmlparser.cpp; do
|
| |
- g++ $RPM_OPT_FLAGS -fPIC -o $i.o -c $i
|
| |
+ ${CXX} $RPM_OPT_FLAGS -fPIC -o $i.o -c $i
|
| |
done
|
| |
- g++ $RPM_LD_FLAGS -shared -o lib%{name}.so.0.%{version} \
|
| |
+ ${CXX} $RPM_LD_FLAGS -shared -o lib%{name}.so.0.%{version} \
|
| |
-Wl,-soname,lib%{name}.so.0 *.cpp.o
|
| |
|
| |
|
| |
Use %{set_build_flags} to populate CXX, etc. and use that later when
building.