FreeBSD Bugzilla – Attachment 165836 Details for
Bug 206411
emulators/simh: Fix build with clang 3.8.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Ensure -flto -fwhole-program is not used when it is not completely supported
emulators__simh-no-whole-program-opt-1.diff (text/plain), 1.52 KB, created by
Dimitry Andric
on 2016-01-19 20:16:42 UTC
(
hide
)
Description:
Ensure -flto -fwhole-program is not used when it is not completely supported
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-01-19 20:16:42 UTC
Size:
1.52 KB
patch
obsolete
>Index: emulators/simh/Makefile >=================================================================== >--- emulators/simh/Makefile (revision 406312) >+++ emulators/simh/Makefile (working copy) >@@ -13,7 +13,7 @@ > NO_WRKSUBDIR= yes > > USES= gmake dos2unix zip >-DOS2UNIX_FILES= VAX/vax_sysdev.c >+DOS2UNIX_FILES= makefile VAX/vax_sysdev.c > MAKE_ENV= GCC="${CC}" CFLAGS_O="${CFLAGS}" USE_NETWORK=1 > MAKEFILE= makefile > >Index: emulators/simh/files/patch-makefile >=================================================================== >--- emulators/simh/files/patch-makefile (nonexistent) >+++ emulators/simh/files/patch-makefile (working copy) >@@ -0,0 +1,15 @@ >+--- makefile.orig 2012-04-23 16:28:04.000000000 +0200 >++++ makefile 2016-01-19 20:21:21.371550000 +0100 >+@@ -332,8 +332,10 @@ >+ endif >+ ifeq (,$(NO_LTO)) >+ ifneq (,$(findstring -flto,$(GCC_OPTIMIZERS))) >+- CFLAGS_O += -flto -fwhole-program >+- LDFLAGS_O += -flto -fwhole-program >++ ifneq (,$(findstring -fwhole-program,$(GCC_OPTIMIZERS))) >++ CFLAGS_O += -flto -fwhole-program >++ LDFLAGS_O += -flto -fwhole-program >++ endif >+ endif >+ endif >+ BUILD_FEATURES = - compiler optimizations and no debugging support > >Property changes on: emulators/simh/files/patch-makefile >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 206411
: 165836 |
167163