diff options
author | myangsynapticscom <116875207+myangsynapticscom@users.noreply.github.com> | 2022-10-28 18:28:26 +0800 |
---|---|---|
committer | Vincent Huang <vincenthsw@gmail.com> | 2022-10-28 18:35:18 +0800 |
commit | 537827ba4d26eb7ed1c25a31b82657771ed16eb1 (patch) | |
tree | 17edec541753461f086fa0ff572f19192219ad17 | |
parent | e75dd6d14a056248a416edf86148546303decbd8 (diff) | |
download | rmi4utils-537827ba4d26eb7ed1c25a31b82657771ed16eb1.tar.gz |
Enable LFS feature
Enable LFS feature while building relevant packages.
-rw-r--r-- | f54test/Makefile | 1 | ||||
-rw-r--r-- | rmi4update/Makefile | 1 | ||||
-rw-r--r-- | rmidevice/Makefile | 1 | ||||
-rw-r--r-- | rmihidtool/Makefile | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/f54test/Makefile b/f54test/Makefile index e0f1b64..272646c 100644 --- a/f54test/Makefile +++ b/f54test/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 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 diff --git a/rmidevice/Makefile b/rmidevice/Makefile index d9f32cc..4ce6b39 100644 --- a/rmidevice/Makefile +++ b/rmidevice/Makefile @@ -2,6 +2,7 @@ CXX ?= g++ AR ?= ar RANLIB ?= ranlib CPPFLAGS += -I../include -I./include +CPPFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE CXXFLAGS += -fPIC -Wall RMIDEVICESRC = rmifunction.cpp rmidevice.cpp hiddevice.cpp util.cpp RMIDEVICEOBJ = $(RMIDEVICESRC:.cpp=.o) 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 |