mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
90d8d127ca
fsync (and friends, like open(O_SYNC)). This has two side-effects: making software that writes data safely to disk a lot quicker and making this software no longer crash safe. DO NOT use libeatmydata on software where you care about what it stores. It's called libEAT-MY-DATA for a reason. PR: ports/142892 Submitted by: Attila Nagy <bra at fsn.hu>
16 lines
528 B
Plaintext
16 lines
528 B
Plaintext
--- Makefile.orig 2010-01-16 20:34:10.000000000 +0100
|
|
+++ Makefile 2010-01-16 20:38:43.000000000 +0100
|
|
@@ -1,10 +1,10 @@
|
|
-all: libs fsynctest
|
|
+all: libs
|
|
|
|
clean:
|
|
rm -f libeatmydata.so* fsynctest
|
|
|
|
libs: eatmydata.c
|
|
- gcc -shared -Wl,-soname,libeatmydata.so.1 -ldl -o libeatmydata.so.1.0 eatmydata.c -fPIC
|
|
+ gcc -shared -Wl,-soname,libeatmydata.so.1 -o libeatmydata.so.1.0 eatmydata.c -fPIC
|
|
@rm -f libeatmydata.so.1 libeatmydata.so
|
|
ln -s libeatmydata.so.1.0 libeatmydata.so.1
|
|
ln -s libeatmydata.so.1 libeatmydata.so
|