FreeBSD Bugzilla – Attachment 78561 Details for
Bug 112997
[bsd.cpu.mk] [patch] Add note about the 'native' mtune option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc_native.patch
gcc_native.patch (text/plain), 724 bytes, created by
Scot Hetzel
on 2007-08-28 07:58:03 UTC
(
hide
)
Description:
gcc_native.patch
Filename:
MIME Type:
Creator:
Scot Hetzel
Created:
2007-08-28 07:58:03 UTC
Size:
724 bytes
patch
obsolete
>Index: share/mk/bsd.cpu.mk >=================================================================== >RCS file: /home/ncvs/src/share/mk/bsd.cpu.mk,v >retrieving revision 1.62 >diff -u -r1.62 bsd.cpu.mk >--- share/mk/bsd.cpu.mk 21 May 2007 08:39:44 -0000 1.62 >+++ share/mk/bsd.cpu.mk 28 Aug 2007 05:50:09 -0000 >@@ -18,6 +18,14 @@ > . endif > .else > >+# Handle 'native' by converting it to the appropriate CPUTYPE >+ >+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" >+. if ${CPUTYPE} == "native" >+CPUTYPE != gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 | grep mtune | sed -e 's/.*mtune=//' >+. endif >+.endif >+ > # Handle aliases (not documented in make.conf to avoid user confusion > # between e.g. i586 and pentium) >
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 112997
:
78559
|
78560
| 78561