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 630382 Details for
Bug 868486
thermostat 0.4.0 not built with $RPM_{OPT,LD}_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]
Upstreamable: don't override user provided CFLAGS and LDFLAGS
thermostat-buildflags.patch (text/plain), 2.00 KB, created by
Ville Skyttä
on 2012-10-20 09:37:43 UTC
(
hide
)
Description:
Upstreamable: don't override user provided CFLAGS and LDFLAGS
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2012-10-20 09:37:43 UTC
Size:
2.00 KB
patch
obsolete
># HG changeset patch ># User Ville Skyttä <ville.skytta@iki.fi> ># Date 1350724912 -10800 ># Node ID c232611d6d97632d93c3d3e22b8391b2e6037d9f ># Parent da7f134762f6b2a0b46ad3e7eeeea01853c00fe2 >Don't override user provided CFLAGS and LDFLAGS. > >diff -r da7f134762f6 -r c232611d6d97 agent/core/Makefile >--- a/agent/core/Makefile Fri Oct 19 21:58:18 2012 +0200 >+++ b/agent/core/Makefile Sat Oct 20 12:21:52 2012 +0300 >@@ -1,7 +1,7 @@ > CC = gcc > JAVAH = javah >-CFLAGS = -c -Wall -fPIC >-LDFLAGS = -fPIC -shared >+MYCFLAGS = -c -Wall -fPIC >+MYLDFLAGS = -fPIC -shared > COPY = cp -a > > CLASSPATH = target/classes/ >@@ -27,10 +27,10 @@ > $(COPY) $(SOURCES) $(TARGET) > > $(EXECUTABLE): $(OBJECTS) >- $(CC) $(OBJECTS) -o $(TARGET_DIR)/$@ $(LDFLAGS) >+ $(CC) $(OBJECTS) -o $(TARGET_DIR)/$@ $(MYLDFLAGS) $(LDFLAGS) > > .c.o: >- $(CC) $(CFLAGS) $(INCLUDE) $< -o $@ >+ $(CC) $(MYCFLAGS) $(CFLAGS) $(INCLUDE) $< -o $@ > > clean-lib: > rm $(TARGET_DIR)/$(EXECUTABLE) >diff -r da7f134762f6 -r c232611d6d97 keyring/Makefile >--- a/keyring/Makefile Fri Oct 19 21:58:18 2012 +0200 >+++ b/keyring/Makefile Sat Oct 20 12:21:52 2012 +0300 >@@ -1,7 +1,7 @@ > CC = gcc > JAVAH = javah >-CFLAGS = -c -Wall -fPIC >-LDFLAGS = -fPIC -shared >+MYCFLAGS = -c -Wall -fPIC >+MYLDFLAGS = -fPIC -shared > COPY = cp -a > > CLASSPATH = target/classes/ >@@ -14,8 +14,8 @@ > > EXECUTABLE = libGnomeKeyringWrapper.so > >-CFLAGS += `pkg-config --cflags gnome-keyring-1` >-LDFLAGS += `pkg-config --libs gnome-keyring-1` >+MYCFLAGS += `pkg-config --cflags gnome-keyring-1` >+MYLDFLAGS += `pkg-config --libs gnome-keyring-1` > > .phoni: > JNI_LIST = com.redhat.thermostat.utils.keyring.GnomeKeyringLibraryNative >@@ -30,10 +30,10 @@ > $(COPY) $(SOURCES) $(TARGET) > > $(EXECUTABLE): $(OBJECTS) >- $(CC) $(OBJECTS) -o $(TARGET_DIR)/$@ $(LDFLAGS) >+ $(CC) $(OBJECTS) -o $(TARGET_DIR)/$@ $(MYLDFLAGS) $(LDFLAGS) > > .c.o: >- $(CC) $(CFLAGS) $(INCLUDE) $< -o $@ >+ $(CC) $(MYCFLAGS) $(CFLAGS) $(INCLUDE) $< -o $@ > > clean-lib: > rm $(TARGET_DIR)/$(EXECUTABLE)
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 868486
: 630382 |
630385