From 15027d6de049fa139a193abc5a86e6578faf630d Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Tue, 15 Apr 2014 21:59:42 -0500
Subject: Probes for O_NOFOLLOW that compile and run something aren't
 compatible with cross compiling, so just #define it to 0 if it's not in
 fcntl.h where posix-2008 says.

---
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index c5118e0c..40a34263 100644
--- a/Makefile
+++ b/Makefile
@@ -44,9 +44,8 @@ clean::
 	rm -rf toybox toybox_unstripped generated/config.h generated/Config.in \
 		generated/newtoys.h generated/globals.h testdir \
 		generated/Config.probed generated/oldtoys.h generated/flags.h \
-		generated/portability.h .singleconfig .singleconfig.old \
-		generated/instlist generated/mkflags generated/config2help \
-		generated/help.h
+		.singleconfig .singleconfig.old generated/help.h \
+		generated/instlist generated/mkflags generated/config2help
 
 distclean: clean
 	rm -f toybox_old .config*
-- 
cgit v1.2.3