aboutsummaryrefslogtreecommitdiff
path: root/rmi4update
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 /rmi4update
parente75dd6d14a056248a416edf86148546303decbd8 (diff)
downloadrmi4utils-537827ba4d26eb7ed1c25a31b82657771ed16eb1.tar.gz
Enable LFS feature
Enable LFS feature while building relevant packages.
Diffstat (limited to 'rmi4update')
-rw-r--r--rmi4update/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/rmi4update/Makefile b/rmi4update/Makefile
index b8ce096..c8fe3cc 100644
--- a/rmi4update/Makefile
+++ b/rmi4update/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 -lrt