summaryrefslogtreecommitdiff
path: root/linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
committerChris Larson <clarson@kergoth.com>2004-11-09 00:36:47 +0000
commitf96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch)
treeedb17ec2c4ea13c5acb1c7350957a249a820e28d /linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch
parentb6588aa6851fb220cedc387d21c51513ef8d67f4 (diff)
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch')
-rw-r--r--linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch b/linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch
index e69de29bb2..d638b7f746 100644
--- a/linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch
+++ b/linux-uml/linux-uml-2.6.7/disable-UnitAtATime.patch
@@ -0,0 +1,22 @@
+
+Avoid that gcc breaks UML with "unit at a time" compilation mode.
+
+Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it>
+---
+
+ uml-linux-2.6.7-paolo/arch/um/Makefile | 2 ++
+ 1 files changed, 2 insertions(+)
+
+diff -puN arch/um/Makefile~disable-UnitAtATime arch/um/Makefile
+--- uml-linux-2.6.7/arch/um/Makefile~disable-UnitAtATime 2004-06-29 21:03:00.859506704 +0200
++++ uml-linux-2.6.7-paolo/arch/um/Makefile 2004-06-29 21:03:00.861506400 +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
+_