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