The Samba-Bugzilla – Attachment 4531 Details for
Bug 6540
Compilation errors on RHEL4 and RHEL5 with makerpm.sh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build when ccache not available (RHEL)
samba-ccache-specfix.patch (text/plain), 904 bytes, created by
D.L. Meyer
on 2009-08-10 11:07:11 UTC
(
hide
)
Description:
fix build when ccache not available (RHEL)
Filename:
MIME Type:
Creator:
D.L. Meyer
Created:
2009-08-10 11:07:11 UTC
Size:
904 bytes
patch
obsolete
>--- packaging/RHEL/samba.spec.original 2008-09-18 06:43:37.000000000 -0500 >+++ packaging/RHEL/samba.spec 2008-10-18 01:28:58.000000000 -0500 >@@ -122,8 +122,9 @@ > # RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" > > ## check for ccache >- ccache -h 2>&1 > /dev/null >-if [ $? -eq 0 ]; then >+# ccache -h 2>&1 > /dev/null >+#if [ $? -eq 0 ]; then >+if [ "$(which ccache 2> /dev/null)" != "" ]; then > CC="ccache gcc" > else > CC="gcc" >--- packaging/RHEL/samba.spec.tmpl.original 2008-10-18 01:52:32.000000000 -0500 >+++ packaging/RHEL/samba.spec.tmpl 2008-10-18 01:53:46.000000000 -0500 >@@ -122,8 +122,9 @@ > # RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" > > ## check for ccache >- ccache -h 2>&1 > /dev/null >-if [ $? -eq 0 ]; then >+# ccache -h 2>&1 > /dev/null >+#if [ $? -eq 0 ]; then >+if [ "$(which ccache 2> /dev/null)" != "" ]; then > CC="ccache gcc" > else > CC="gcc"
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 Raw
Actions:
View
Attachments on
bug 6540
:
4531
|
4534
|
4535
|
5080