Project not found: home:mrostecki:kernel

File abiword-gcc46.patch of Package abiword

diff -ur abiword-2.8.6/src/Makefile.am abiword-2.8.6.patched//src/Makefile.am
--- abiword-2.8.6/src/Makefile.am	2009-09-09 15:11:01.000000000 +0200
+++ abiword-2.8.6.patched//src/Makefile.am	2011-05-16 10:12:55.378621418 +0200
@@ -44,7 +44,7 @@
 
 libabiword_2_8_la_LDFLAGS = \
 	$(DEPS_LIBS) \
-	--no-undefined \
+	-Wl,--no-undefined \
 	-avoid-version \
 	-export-dynamic
 
@@ -107,7 +107,7 @@
 
 AbiWord_LDFLAGS = \
 	$(DEPS_LIBS) \
-	--no-undefined \
+	-Wl,--no-undefined \
 	-avoid-version \
 	-export-dynamic \
 	-headerpad_max_install_names 
@@ -129,7 +129,7 @@
 
 abiword_LDFLAGS = \
 	$(platform_ldflags) \
-	--no-undefined      \
+	-Wl,--no-undefined      \
 	-avoid-version      \
 	-export-dynamic
 
diff -ur abiword-2.8.6/src/Makefile.in abiword-2.8.6.patched//src/Makefile.in
--- abiword-2.8.6/src/Makefile.in	2010-06-13 23:17:56.000000000 +0200
+++ abiword-2.8.6.patched//src/Makefile.in	2011-05-16 10:13:35.595224769 +0200
@@ -503,7 +503,7 @@
 	$(WP_CPPFLAGS) \
 	-DABIWORD_DATADIR="\"$(ABIWORD_DATADIR)\""
 
-libabiword_2_8_la_LDFLAGS = $(DEPS_LIBS) --no-undefined -avoid-version \
+libabiword_2_8_la_LDFLAGS = $(DEPS_LIBS) -Wl,--no-undefined -avoid-version \
 	-export-dynamic $(am__append_6)
 libabiword_2_8_la_LIBADD = $(opt_libs) plugins/libplugins.la \
 	text/fmt/xp/libxp.la text/ptbl/xp/libxp.la \
@@ -538,7 +538,7 @@
 
 @TOOLKIT_COCOA_TRUE@AbiWord_LDFLAGS = \
 @TOOLKIT_COCOA_TRUE@	$(DEPS_LIBS) \
-@TOOLKIT_COCOA_TRUE@	--no-undefined \
+@TOOLKIT_COCOA_TRUE@	-Wl,--no-undefined \
 @TOOLKIT_COCOA_TRUE@	-avoid-version \
 @TOOLKIT_COCOA_TRUE@	-export-dynamic \
 @TOOLKIT_COCOA_TRUE@	-headerpad_max_install_names 
@@ -554,7 +554,7 @@
 
 @TOOLKIT_COCOA_FALSE@abiword_LDFLAGS = \
 @TOOLKIT_COCOA_FALSE@	$(platform_ldflags) \
-@TOOLKIT_COCOA_FALSE@	--no-undefined      \
+@TOOLKIT_COCOA_FALSE@	-Wl,--no-undefined      \
 @TOOLKIT_COCOA_FALSE@	-avoid-version      \
 @TOOLKIT_COCOA_FALSE@	-export-dynamic
 
openSUSE Build Service is sponsored by