aboutsummaryrefslogtreecommitdiff
path: root/rmihidtool
diff options
context:
space:
mode:
authormyangsynapticscom <116875207+myangsynapticscom@users.noreply.github.com>2022-10-28 18:28:26 +0800
committerVincent Huang <vincenthsw@gmail.com>2022-10-28 18:35:18 +0800
commit537827ba4d26eb7ed1c25a31b82657771ed16eb1 (patch)
tree17edec541753461f086fa0ff572f19192219ad17 /rmihidtool
parente75dd6d14a056248a416edf86148546303decbd8 (diff)
downloadrmi4utils-537827ba4d26eb7ed1c25a31b82657771ed16eb1.tar.gz
Enable LFS feature
Enable LFS feature while building relevant packages.
Diffstat (limited to 'rmihidtool')
-rw-r--r--rmihidtool/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/rmihidtool/Makefile b/rmihidtool/Makefile
index 3553c99..e03fe92 100644
--- a/rmihidtool/Makefile
+++ b/rmihidtool/Makefile
@@ -1,5 +1,6 @@
CXX ?= g++
CPPFLAGS += -I../include -I./include -I../rmidevice
+CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
CXXFLAGS += -Wall
LDFLAGS += -L.
LIBS = -lrmidevice