Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 153895 Details for
Bug 223159
[patch] disable distcc for -march=native
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
distcc-march-native.patch
distcc-march-native.patch (text/plain), 934 bytes, created by
Ryan Hill (RETIRED)
on 2008-05-22 04:00:49 UTC
(
hide
)
Description:
distcc-march-native.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2008-05-22 04:00:49 UTC
Size:
934 bytes
patch
obsolete
>diff -ur distcc-2.18.3/src/arg.c distcc-modified/src/arg.c >--- distcc-2.18.3/src/arg.c 2004-11-30 13:13:53.000000000 +0100 >+++ distcc-modified/src/arg.c 2008-02-05 17:56:58.000000000 +0100 >@@ -171,6 +171,12 @@ > to distribute it even if we could. */ > rs_trace("%s implies -E (maybe) and must be local", a); > return EXIT_DISTCC_FAILED; >+ } else if (!strcmp(a, "-march=native")) { >+ rs_trace("-march=native generates code for local machine; must be local"); >+ return EXIT_DISTCC_FAILED; >+ } else if (!strcmp(a, "-mtune=native")) { >+ rs_trace("-mtune=native optimizes for local machine; must be local"); >+ return EXIT_DISTCC_FAILED; > } else if (str_startswith("-Wa,", a)) { > /* Look for assembler options that would produce output > * files and must be local.
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 223159
: 153895