diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-31 11:55:42 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-31 11:55:42 +0100 |
commit | b406180c4829a7fa509e03552254bef18b0cc606 (patch) | |
tree | f076d713519a83f0f5f44ef63a504af09f878efe /tools/Rules.mk | |
parent | bc0fe8ff74c3e462c9d637eb3e93645f0b97a3f8 (diff) | |
download | xen-b406180c4829a7fa509e03552254bef18b0cc606.tar.gz xen-b406180c4829a7fa509e03552254bef18b0cc606.tar.bz2 xen-b406180c4829a7fa509e03552254bef18b0cc606.zip |
tools build: No need for LFS flags on NetBSD.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/Rules.mk')
-rw-r--r-- | tools/Rules.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/Rules.mk b/tools/Rules.mk index fbd69ea215..53434d51fc 100644 --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -33,10 +33,12 @@ CFLAGS += -D__XEN_TOOLS__ CFLAGS += -MMD -MF .$(@F).d DEPS = .*.d +ifneq ($(XEN_OS),NetBSD) # Enable implicit LFS support *and* explicit LFS names. CFLAGS += $(shell getconf LFS_CFLAGS) CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE LDFLAGS += $(shell getconf LFS_LDFLAGS) +endif # 32-bit x86 does not perform well with -ve segment accesses on Xen. CFLAGS-$(CONFIG_X86_32) += $(call cc-option,$(CC),-mno-tls-direct-seg-refs) |