Skip to contentSkip to conversation

uml: fix x86_64 submode compilation [before 2.6.11]

PATCH New [email protected] 1 participant 1 message Feb 4, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 8/8 uml: fix x86_64 submode compilation [before 2.6.11]

From: Jeff Dike <[email protected]>

Forgot to use ARCH_USER_CFLAGS after defining it for x86_64.

---

 linux-2.6.11-paolo/arch/um/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/um/Makefile renamed from arch/um/Makefile~uml-x86_64-fixes +1 -1
diff -puN arch/um/Makefile~uml-x86_64-fixes arch/um/Makefile
@@ -58,7 +58,7 @@ CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSU
 
 USER_CFLAGS := $(patsubst -I%,,$(CFLAGS))
 USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \
-	$(MODE_INCLUDE)
+	$(MODE_INCLUDE) $(ARCH_USER_CFLAGS)
 CFLAGS += -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask
 CFLAGS += $(call cc-option,-fno-unit-at-a-time,)
 

_

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel