aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-04-15 21:59:42 -0500
committerRob Landley <rob@landley.net>2014-04-15 21:59:42 -0500
commit15027d6de049fa139a193abc5a86e6578faf630d (patch)
tree04f956c68b136f2968d80f78640d3db8ab1253a8 /Makefile
parentdd61393cba9d4dd7152960274aff1d25dd239c93 (diff)
downloadtoybox-15027d6de049fa139a193abc5a86e6578faf630d.tar.gz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
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*