lguest: clean up example launcher compile flags.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, June 12, 2009 - 11:00 am

Gitweb:     http://git.kernel.org/linus/2644f17d6c932929fd68cfec95691490947e0fd1
Commit:     2644f17d6c932929fd68cfec95691490947e0fd1
Parent:     61f4bc83fea248a3092beb7ba43daa5629615513
Author:     Rusty Russell <rusty@rustcorp.com.au>
AuthorDate: Fri Jun 12 22:27:03 2009 -0600
Committer:  Rusty Russell <rusty@rustcorp.com.au>
CommitDate: Fri Jun 12 22:27:03 2009 +0930

    lguest: clean up example launcher compile flags.
    
    18 months ago 5bbf89fc260830f3f58b331d946a16b39ad1ca2d changed to loading
    bzImages directly, and no longer manually ungzipping them, so we no longer
    need libz.
    
    Also, -m32 is useful for those on 64-bit platforms (and harmless on
    32-bit).
    
    Reported-by: Ron Minnich <rminnich@gmail.com>
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 Documentation/lguest/Makefile |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Documentation/lguest/Makefile b/Documentation/lguest/Makefile
index 1f4f9e8..28c8cdf 100644
--- a/Documentation/lguest/Makefile
+++ b/Documentation/lguest/Makefile
@@ -1,6 +1,5 @@
 # This creates the demonstration utility "lguest" which runs a Linux guest.
-CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE
-LDLIBS:=-lz
+CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include -U_FORTIFY_SOURCE
 
 all: lguest
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
lguest: clean up example launcher compile flags., Linux Kernel Mailing ..., (Fri Jun 12, 11:00 am)