From 3b7f4eefb7de3f9887a11b10eda1a552850caf5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 5 Aug 2010 19:56:20 +0000 Subject: [PATCH] - fix build with cc with spaces Changed files: libebml.spec -> 1.28 libtool-tag.patch -> 1.1 --- libebml.spec | 2 ++ libtool-tag.patch | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 libtool-tag.patch diff --git a/libebml.spec b/libebml.spec index d6e0233..917ca1b 100644 --- a/libebml.spec +++ b/libebml.spec @@ -8,6 +8,7 @@ Group: Libraries Source0: http://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.bz2 # Source0-md5: 6278109f52e4f9d2c8a8dfc0d668b587 Patch0: %{name}-makefile.patch +Patch1: libtool-tag.patch URL: http://www.matroska.org/ BuildRequires: libstdc++-devel BuildRequires: libtool @@ -51,6 +52,7 @@ Statyczna wersja biblioteki rozszerzalnego metajęzyka binarnego. %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %{__make} -C make/linux \ diff --git a/libtool-tag.patch b/libtool-tag.patch new file mode 100644 index 0000000..29c4a78 --- /dev/null +++ b/libtool-tag.patch @@ -0,0 +1,15 @@ +--- libebml-0.7.8/make/linux/Makefile~ 2010-08-05 22:53:47.000000000 +0300 ++++ libebml-0.7.8/make/linux/Makefile 2010-08-05 22:54:21.405342023 +0300 +@@ -82,10 +82,10 @@ + + # Build rules + %.lo: %$(EXTENSION) +- $(LIBTOOL) --mode=compile $(CXX) -c $(COMPILEFLAGS) -o $@ $< ++ $(LIBTOOL) --mode=compile --tag=CC $(CXX) -c $(COMPILEFLAGS) -o $@ $< + + $(LIBRARY): $(objects) +- $(LIBTOOL) --mode=link $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -rpath $(libdir) ++ $(LIBTOOL) --mode=link --tag=CC $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) -rpath $(libdir) + + clean: + rm -f $(objects) $(objects_so) -- 2.43.0