diff options
author | Wolfgang Denk <wd@denx.de> | 2007-07-03 15:07:56 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-03 15:07:56 +0200 |
commit | 98c440bee623ecdd5322852732b883e696fb2140 (patch) | |
tree | ad8b06bc01822cfff8dc53d6651c59c24ac1babe /tools | |
parent | e4feb7638ca0a2138973f14456424acbc332ae43 (diff) | |
parent | 1f2a05898658900dc5717761e27abf2052e67e13 (diff) |
Merge with /home/wd/git/u-boot/custodian/u-boot-testing
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 2 | ||||
-rw-r--r-- | tools/mkimage.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index 6177f90271..5e26bd7dd5 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -74,7 +74,7 @@ TOOLSUBDIRS = ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc) HOST_CFLAGS = -traditional-cpp -Wall HOST_LDFLAGS =-multiply_defined suppress -HOST_ENVIRO_CFLAGS = -traditional-cpp +HOST_ENVIRO_CFLAGS = else ifeq ($(HOSTOS)-$(HOSTARCH),netbsd-ppc) diff --git a/tools/mkimage.c b/tools/mkimage.c index 416e658f7c..21251306ac 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -446,7 +446,7 @@ NXTARG: ; } /* We're a bit of paranoid */ -#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__) +#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__) && !defined(__APPLE__) (void) fdatasync (ifd); #else (void) fsync (ifd); @@ -496,7 +496,7 @@ NXTARG: ; (void) munmap((void *)ptr, sbuf.st_size); /* We're a bit of paranoid */ -#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__) +#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) && !defined(__FreeBSD__) && !defined(__APPLE__) (void) fdatasync (ifd); #else (void) fsync (ifd); |