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 686075 Details for
Bug 903288
use -fno-strict-aliasing cflag to fix some compilation warnings
[?]
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]
add -fno-strict-aliasing to every needed Makefile
fontforge-20120731-b-fix-makefile.patch (text/plain), 4.25 KB, created by
Parag Nemade
on 2013-01-23 16:27:23 UTC
(
hide
)
Description:
add -fno-strict-aliasing to every needed Makefile
Filename:
MIME Type:
Creator:
Parag Nemade
Created:
2013-01-23 16:27:23 UTC
Size:
4.25 KB
patch
obsolete
>diff -urN fontforge-20120731-b.orig/fontforge/Makefile.dynamic.in fontforge-20120731-b/fontforge/Makefile.dynamic.in >--- fontforge-20120731-b.orig/fontforge/Makefile.dynamic.in 2012-08-02 20:39:08.000000000 +0530 >+++ fontforge-20120731-b/fontforge/Makefile.dynamic.in 2013-01-21 19:19:21.740383659 +0530 >@@ -66,7 +66,7 @@ > _CFLAGS = -I$(top_srcdir)/inc -I../inc -I$(srcdir) -I. @WFLAGS@ $(X_CFLAGS) \ > @DEFS@ '-DSHAREDIR="$(sharedir)"' -DLIBDIR='"$(libdir)"' \ > @CPPFLAGS@ '-DPREFIX="@prefix@"' >-CFLAGS = @CFLAGS@ @CPPFLAGS@ $(_CFLAGS) >+CFLAGS = @CFLAGS@ -fno-strict-aliasing @CPPFLAGS@ $(_CFLAGS) > > #I used to include -L/usr/lib explicitly after static_libs. Not sure why. Should be implied & breaks 64bit compiles > LDFLAGS = $(X_LIBS) @LDFLAGS@ >diff -urN fontforge-20120731-b.orig/gdraw/Makefile.dynamic.in fontforge-20120731-b/gdraw/Makefile.dynamic.in >--- fontforge-20120731-b.orig/gdraw/Makefile.dynamic.in 2012-08-02 20:39:09.000000000 +0530 >+++ fontforge-20120731-b/gdraw/Makefile.dynamic.in 2013-01-21 19:15:40.583389276 +0530 >@@ -37,7 +37,7 @@ > ghvbox.lo gmatrixedit.lo gdrawable.lo gspacer.lo xkeysyms_unicode.lo > > Incs = -I$(top_srcdir)/inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib >-CFLAGS = @CFLAGS@ @CPPFLAGS@ $(Incs) @WFLAGS@ $(X_CFLAGS) -DNOTHREADS @DEFS@ -DLIBDIR='"$(libdir)"' >+CFLAGS = @CFLAGS@ -fno-strict-aliasing @CPPFLAGS@ $(Incs) @WFLAGS@ $(X_CFLAGS) -DNOTHREADS @DEFS@ -DLIBDIR='"$(libdir)"' > > ../libgdraw.la: $(libgdraw_OBJECTS) > $(LIBTOOL) --mode=link $(CC) -no-undefined $(CFLAGS) -o ../libgdraw.la $(libgdraw_OBJECTS) \ >diff -urN fontforge-20120731-b.orig/gutils/Makefile.dynamic.in fontforge-20120731-b/gutils/Makefile.dynamic.in >--- fontforge-20120731-b.orig/gutils/Makefile.dynamic.in 2012-08-02 20:39:09.000000000 +0530 >+++ fontforge-20120731-b/gutils/Makefile.dynamic.in 2013-01-21 19:16:02.059388730 +0530 >@@ -33,7 +33,7 @@ > libgioftp_OBJECTS = gioftp.lo > > Incs = -I$(top_srcdir)/inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib >-CFLAGS = @CFLAGS@ @CPPFLAGS@ $(Incs) @WFLAGS@ $(X_CFLAGS) -DNOTHREADS @DEFS@ -DLIBDIR='"$(libdir)"' >+CFLAGS = @CFLAGS@ -fno-strict-aliasing @CPPFLAGS@ $(Incs) @WFLAGS@ $(X_CFLAGS) -DNOTHREADS @DEFS@ -DLIBDIR='"$(libdir)"' > > both: ../libgutils.la ../libgioftp.la > >diff -urN fontforge-20120731-b.orig/Makefile.dynamic.in fontforge-20120731-b/Makefile.dynamic.in >--- fontforge-20120731-b.orig/Makefile.dynamic.in 2012-08-02 20:39:08.000000000 +0530 >+++ fontforge-20120731-b/Makefile.dynamic.in 2013-01-21 19:13:03.764393258 +0530 >@@ -37,7 +37,6 @@ > ( cd gdraw ; $(MAKE) ) > > pos: >- -ln -s $(srcdir)/po/*.po po > ( cd po ; $(MAKE) ) > > fontforgegtk: fontforge >@@ -93,8 +92,6 @@ > #explicit use of sh to make sure we don't invoke csh with different "if" syntax > -sh -c "if test -d $(srcdir)/htdocs/ja >/dev/null ; then mkdir -p $(DESTDIR)$(docdir)/ja ; fi" > -$(INSTALL_DATA) $(srcdir)/htdocs/*.{html,png,gif,pdf} $(DESTDIR)$(docdir) >- -$(INSTALL_DATA) $(srcdir)/htdocs/flags/* $(DESTDIR)$(docdir)/flags >- -$(INSTALL_DATA) $(srcdir)/htdocs/ja/* $(DESTDIR)$(docdir)/ja > > install_po: > ( cd po ; $(MAKE) install ) >diff -urN fontforge-20120731-b.orig/plugins/Makefile.in fontforge-20120731-b/plugins/Makefile.in >--- fontforge-20120731-b.orig/plugins/Makefile.in 2012-08-02 20:39:09.000000000 +0530 >+++ fontforge-20120731-b/plugins/Makefile.in 2013-01-21 19:16:33.916387921 +0530 >@@ -20,7 +20,7 @@ > @WFLAGS@ $(X_CFLAGS) \ > @DEFS@ '-DSHAREDIR="$(sharedir)"' -DLIBDIR='"$(libdir)"' \ > @CPPFLAGS@ '-DPREFIX="@prefix@"' >-CFLAGS = @CFLAGS@ $(_CFLAGS) >+CFLAGS = @CFLAGS@ -fno-strict-aliasing $(_CFLAGS) > > LIBS = -rpath $(libdir) -L/usr/lib -lm > >diff -urN fontforge-20120731-b.orig/Unicode/Makefile.dynamic.in fontforge-20120731-b/Unicode/Makefile.dynamic.in >--- fontforge-20120731-b.orig/Unicode/Makefile.dynamic.in 2012-08-02 20:39:08.000000000 +0530 >+++ fontforge-20120731-b/Unicode/Makefile.dynamic.in 2013-01-21 19:17:12.135386951 +0530 >@@ -21,7 +21,7 @@ > usprintf.lo gwwiconv.lo > > Incs = -I$(top_srcdir)/inc -I../inc -I/usr/pkg/include -I/usr/pkg/include/giflib >-CFLAGS = @CFLAGS@ @CPPFLAGS@ $(Incs) @WFLAGS@ @DEFS@ >+CFLAGS = @CFLAGS@ -fno-strict-aliasing @CPPFLAGS@ $(Incs) @WFLAGS@ @DEFS@ > > ../libgunicode.la: $(libgunicode_OBJECTS) > $(LIBTOOL) --mode=link $(CC) -no-undefined @LDFLAGS@ -o ../libgunicode.la $(libgunicode_OBJECTS) \
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 903288
:
686075
|
788781