Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 845835 Details for
Bug 1048617
lz4-r110-1 not built with $RPM_OPT_FLAGS
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Build with $RPM_OPT_FLAGS
0001-Build-with-RPM_OPT_FLAGS.patch (text/plain), 2.05 KB, created by
Ville Skyttä
on 2014-01-05 21:46:34 UTC
(
hide
)
Description:
Build with $RPM_OPT_FLAGS
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2014-01-05 21:46:34 UTC
Size:
2.05 KB
patch
obsolete
>From 0b367f0fc32712e8222bf05ff09bb0fb8d4bf78a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> >Date: Sun, 5 Jan 2014 23:45:47 +0200 >Subject: [PATCH] Build with $RPM_OPT_FLAGS. > >--- > lz4-cflags.patch | 13 +++++++++++++ > lz4.spec | 10 ++++++++-- > 2 files changed, 21 insertions(+), 2 deletions(-) > create mode 100644 lz4-cflags.patch > >diff --git a/lz4-cflags.patch b/lz4-cflags.patch >new file mode 100644 >index 0000000..7159297 >--- /dev/null >+++ b/lz4-cflags.patch >@@ -0,0 +1,13 @@ >+Index: Makefile >+=================================================================== >+--- Makefile (revision 110) >++++ Makefile (working copy) >+@@ -37,7 +37,7 @@ >+ MANDIR=$(PREFIX)/share/man/man1 >+ DISTRIBNAME=lz4-$(RELEASE).tar.gz >+ CC=gcc >+-CFLAGS=-I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" >++CFLAGS:=$(CFLAGS) -I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" >+ >+ # Define *.exe as extension for Windows systems >+ # ifeq ($(OS),Windows_NT) >diff --git a/lz4.spec b/lz4.spec >index eff7b75..08c689d 100644 >--- a/lz4.spec >+++ b/lz4.spec >@@ -2,13 +2,15 @@ > > Name: lz4 > Version: r110 >-Release: 1%{?dist} >+Release: 2%{?dist} > Summary: Extremely fast compression algorithm > > Group: Applications/System > License: GPLv2 > URL: https://code.google.com/p/lz4/ > Source0: https://lz4.googlecode.com/files/%{name}-%{version}.tar.gz >+# http://code.google.com/p/lz4/issues/detail?id=106 >+Patch0: lz4-cflags.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot > > %description >@@ -19,10 +21,11 @@ reaching RAM speed limits on multi-core systems. > > %prep > %setup -q >+%patch0 -p0 > > > %build >-make %{?_smp_mflags} >+CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} > > > %install >@@ -37,6 +40,9 @@ make install PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALL="install -p" > > > %changelog >+* Sun Jan 5 2014 Ville Skyttä <ville.skytta@iki.fi> - r110-2 >+- Build with $RPM_OPT_FLAGS. >+ > * Thu Jan 02 2014 pjp <pjp@fedoraproject.org> - r110-1 > - new release r110 > >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1048617
: 845835