ia64/xen-unstable

changeset 19464:132718080e64

tools build: No need for LFS flags on NetBSD.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 31 11:55:42 2009 +0100 (2009-03-31)
parents 57b733f66531
children f2cf89a4e762
files tools/Rules.mk
line diff
     1.1 --- a/tools/Rules.mk	Tue Mar 31 11:54:12 2009 +0100
     1.2 +++ b/tools/Rules.mk	Tue Mar 31 11:55:42 2009 +0100
     1.3 @@ -33,10 +33,12 @@ CFLAGS += -D__XEN_TOOLS__
     1.4  CFLAGS += -MMD -MF .$(@F).d
     1.5  DEPS = .*.d
     1.6  
     1.7 +ifneq ($(XEN_OS),NetBSD)
     1.8  # Enable implicit LFS support *and* explicit LFS names.
     1.9  CFLAGS  += $(shell getconf LFS_CFLAGS)
    1.10  CFLAGS  += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
    1.11  LDFLAGS += $(shell getconf LFS_LDFLAGS)
    1.12 +endif
    1.13  
    1.14  # 32-bit x86 does not perform well with -ve segment accesses on Xen.
    1.15  CFLAGS-$(CONFIG_X86_32) += $(call cc-option,$(CC),-mno-tls-direct-seg-refs)