SUNWevolution.spec
changeset 10608 59225d8f53d5
parent 10604 1fafc6a5368c
child 10609 c8474ee144bf
--- a/SUNWevolution.spec	Thu Oct 04 22:41:07 2007 +0000
+++ b/SUNWevolution.spec	Thu Oct 04 22:46:53 2007 +0000
@@ -113,7 +113,7 @@
 #FIXME: symbol clash in the evo libraries means we can't use -Bdirect
 #       should be re-enabled once these issues are fixed
 export LD=/usr/ccs/bin/ld 
-export LDFLAGS="-Wl,-z,ignore -L%{_libdir} -R%{_libdir}"
+export LDFLAGS="%{?arch_ldadd} -Wl,-z,ignore -L%{_libdir} -R%{_libdir}"
 export CFLAGS="%optflags"
 export RPM_OPT_FLAGS="$CFLAGS"
 export PERL=/usr/perl5/bin/perl
@@ -287,6 +287,7 @@
 
 %changelog
 * Thu Oct  4 2007 - [email protected]
+- add %arch_ldadd to LDFLAGS so that the GNU libiconv flags are used
 - delete -I %{_includedir} from CFLAGS -- breaks the indiana build because
   the wrong iconv.h is picked up; otherwise it's useless
 * Tue Aug 28 2007 - [email protected]