aboutsummaryrefslogtreecommitdiff
path: root/core/otools/build~
diff options
context:
space:
mode:
Diffstat (limited to 'core/otools/build~')
-rwxr-xr-xcore/otools/build~8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/otools/build~ b/core/otools/build~
new file mode 100755
index 00000000..7ed3c2d8
--- /dev/null
+++ b/core/otools/build~
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+:> testfile
+less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk
+rm testfile
+
+make LDFLAGS=''
+make PREFIX=/usr DESTDIR="$1" install