linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] [patch 1/1] Avoid that gcc breaks UML with "unit at a time" compilation mode.
@ 2004-06-19 10:47 BlaisorBlade
  2004-06-23 16:14 ` Nix
  0 siblings, 1 reply; 2+ messages in thread
From: BlaisorBlade @ 2004-06-19 10:47 UTC (permalink / raw)
  To: user-mode-linux-devel, user-mode-linux-user; +Cc: Jeff Dike


Avoid that gcc breaks UML with "unit at a time" compilation mode; this patch 
is for 2.6. Please test it.


---

 uml-Dike-linux-2.6.6-paolo/arch/um/Makefile |    2 ++
 1 files changed, 2 insertions(+)

diff -puN arch/um/Makefile~disable-UnitAtATime arch/um/Makefile
--- uml-Dike-linux-2.6.6/arch/um/Makefile~disable-UnitAtATime	2004-06-19 
11:56:02.000000000 +0200
+++ uml-Dike-linux-2.6.6-paolo/arch/um/Makefile	2004-06-19 11:56:11.000000000 
+0200
@@ -61,6 +61,8 @@ CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSU
 	-D_LARGEFILE64_SOURCE $(ARCH_INCLUDE) -Derrno=kernel_errno \
 	-Dsigprocmask=kernel_sigprocmask $(MODE_INCLUDE)
 
+CFLAGS += $(call check_gcc,-fno-unit-at-a-time,)
+
 LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc
 
 # These are needed for clean and mrproper, since in that case .config is not

_




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-23 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-19 10:47 [uml-devel] [patch 1/1] Avoid that gcc breaks UML with "unit at a time" compilation mode BlaisorBlade
2004-06-23 16:14 ` Nix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox