Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 935200 Details for
Bug 1139046
Build with $RPM_OPT_FLAGS again
Home
New
Search
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.rh90 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 again
Build-with-RPMOPTFLAGS-again.patch (text/plain), 2.86 KB, created by
Ville Skyttä
on 2014-09-07 19:46:30 UTC
(
hide
)
Description:
Build with $RPM_OPT_FLAGS again
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2014-09-07 19:46:30 UTC
Size:
2.86 KB
patch
obsolete
>From 021fcc21906560611c4edc0ba5cbec6f3d5a643e Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> >Date: Sun, 7 Sep 2014 22:42:31 +0300 >Subject: [PATCH] Build with $RPM_OPT_FLAGS again > >--- > jbigkit-2.1-shlib.patch | 15 +++++++++++---- > jbigkit.spec | 7 +++++-- > 2 files changed, 16 insertions(+), 6 deletions(-) > >diff --git a/jbigkit-2.1-shlib.patch b/jbigkit-2.1-shlib.patch >index febd7b0..bf5b22a 100644 >--- a/jbigkit-2.1-shlib.patch >+++ b/jbigkit-2.1-shlib.patch >@@ -6,7 +6,7 @@ diff -Naur jbigkit-2.1.old/libjbig/Makefile jbigkit-2.1/libjbig/Makefile > > # Options for the compiler: A high optimization level is suggested > -CFLAGS = -g -O -W -Wall -ansi -pedantic # --coverage >-+CFLAGS ?= -g -O -W -Wall -ansi -pedantic # --coverage >++CFLAGS = $(RPM_OPT_FLAGS) -W -Wall -ansi -pedantic # --coverage > +PICFLAGS := -fPIC -DPIC > > -all: libjbig.a libjbig85.a tstcodec tstcodec85 >@@ -61,11 +61,18 @@ diff -Naur jbigkit-2.1.old/libjbig/Makefile jbigkit-2.1/libjbig/Makefile > diff -Naur jbigkit-2.1.old/Makefile jbigkit-2.1/Makefile > --- jbigkit-2.1.old/Makefile 2014-03-27 19:47:15.000000000 +0100 > +++ jbigkit-2.1/Makefile 2014-08-04 10:52:09.242027746 +0200 >-@@ -10,19 +10,20 @@ >+@@ -4,25 +4,26 @@ >+ CC = gcc >+ >+ # Options for the compiler: A high optimization level is suggested >+-CFLAGS = -O2 -W -Wno-unused-result >++CFLAGS = $(RPM_OPT_FLAGS) -W -Wno-unused-result >+ # CFLAGS = -O -g -W -Wall -Wno-unused-result -ansi -pedantic # -DDEBUG >+ > export CC CFLAGS > > VERSION=2.1 >-+export VERSION CFLAGS CC >++export VERSION > > all: lib pbm > @echo "Enter 'make test' in order to start some automatic tests." >@@ -105,7 +112,7 @@ diff -Naur jbigkit-2.1.old/pbmtools/Makefile jbigkit-2.1/pbmtools/Makefile > > # Options for the compiler > -CFLAGS = -g -O -W -Wall -Wno-unused-result -ansi -pedantic # --coverage >-+CFLAGS ?= -g -O -W -Wall -Wno-unused-result -ansi -pedantic # --coverage >++CFLAGS = $(RPM_OPT_FLAGS) -W -Wall -Wno-unused-result -ansi -pedantic # --coverage > CPPFLAGS = -I../libjbig > > .SUFFIXES: .1 .5 .txt $(SUFFIXES) >diff --git a/jbigkit.spec b/jbigkit.spec >index e52ff49..78eb39b 100644 >--- a/jbigkit.spec >+++ b/jbigkit.spec >@@ -1,6 +1,6 @@ > Name: jbigkit > Version: 2.1 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: JBIG1 lossless image compression tools > > Group: Development/Libraries >@@ -50,7 +50,7 @@ formats. > %patch1 -p1 -b .warnings > > %build >-make %{?_smp_mflags} CCFLAGS="$RPM_OPT_FLAGS" >+make %{?_smp_mflags} > > %install > mkdir -p $RPM_BUILD_ROOT%{_libdir} >@@ -92,6 +92,9 @@ make test > %{_includedir}/jbig*.h > > %changelog >+* Sun Sep 7 2014 Ville Skyttä <ville.skytta@iki.fi> - 2.1-3 >+- Build with $RPM_OPT_FLAGS again >+ > * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >-- >1.9.3
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 1139046
: 935200