The Samba-Bugzilla – Attachment 4868 Details for
Bug 6832
Build system: Necessary patches to get S4 to build on OpenSolaris
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch 001
0001-S4-Not-all-non-GCC-compilers-are-IRIX-CC.patch (text/plain), 1.72 KB, created by
Torgeir Lerkerød
on 2009-10-20 12:06:43 UTC
(
hide
)
Description:
Patch 001
Filename:
MIME Type:
Creator:
Torgeir Lerkerød
Created:
2009-10-20 12:06:43 UTC
Size:
1.72 KB
patch
obsolete
>From b6ac55a99266832b8598d852576af108dd650e9e Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?Torgeir=20Lerker=C3=B8d?= <torgeir.lerkerod@gmail.com> >Date: Thu, 30 Jul 2009 21:32:29 +0200 >Subject: [PATCH] S4: Not all non GCC compilers are IRIX CC >MIME-Version: 1.0 >Content-Type: text/plain; charset=utf-8 >Content-Transfer-Encoding: 8bit > >Without this change configure doesn't finish on my system (OpenSolaris 11.06). This as a result of which compiler flags are sett. > >When compiling in DEVELOPER mode the IRIX -fullwarn flag are added for non IRIX CC if compiler understands this as something. In the case of Sun CC this is passed as -f to the Sun ld. In the Sun world thats equiliant with "specify library for which this file is an auxiliary filter". E.g not good as this gives some rather unfortunate results. > >The fix in this patch introduces a switch and does the right thing for the platforms that are known. E.g. spesefic Sun cc warnings are turned on in check and old behavior are kept for IRIX cc. > >Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com> >--- > source4/build/m4/check_cc.m4 | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > >diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 >index 32e4b50..d9ca3bf 100644 >--- a/source4/build/m4/check_cc.m4 >+++ b/source4/build/m4/check_cc.m4 >@@ -132,7 +132,17 @@ if test x$developer = xyes; then > AX_CFLAGS_GCC_OPTION(-Wno-unused-macros, CFLAG_NO_UNUSED_MACROS) > AC_SUBST(CFLAG_NO_UNUSED_MACROS) > else >+ case "$host_os" in >+ *irix*) > AX_CFLAGS_IRIX_OPTION(-fullwarn, DEVELOPER_CFLAGS) >+ ;; >+ *solaris*) >+ DEVELOPER_CFLAGS="-v" >+ ;; >+ *sunos*) >+ DEVELOPER_CFLAGS="-v" >+ ;; >+ esac > fi > > CFLAGS="${OLD_CFLAGS}" >-- >1.5.6.5 >
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 6832
: 4868 |
4869
|
4870
|
4871