-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path0001-boruvka-endian.patch
38 lines (31 loc) · 982 Bytes
/
0001-boruvka-endian.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
diff --git a/Makefile b/Makefile
index 7aa9e10..01705ff 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ SO_VERSION = 0
CFLAGS += -I.
CXXFLAGS += -I.
-LDFLAGS += -L. -lboruvka -lm -lrt
+LDFLAGS += -L. -lboruvka -lm
TARGETS = libboruvka.a
diff --git a/src/msg-schema.c b/src/msg-schema.c
index 93e323a..e4e27d2 100644
--- a/src/msg-schema.c
+++ b/src/msg-schema.c
@@ -14,7 +14,6 @@
* See the License for more information.
*/
-#include <endian.h>
#include <stdio.h>
#include "boruvka/msg-schema.h"
diff --git a/test/Makefile b/test/Makefile
index 26f7013..a0c9d93 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -8,7 +8,7 @@ endif
CFLAGS += -I./ -I../ -Icu/
CXXFLAGS += -I./ -I../ -Icu/
-LDFLAGS += -L./ -ldata -Lcu/ -lcu -lrt -lm -L../ -lboruvka -pthread
+LDFLAGS += -L./ -ldata -Lcu/ -lcu -lm -L../ -lboruvka -pthread
CFLAGS_BENCH += $(CFLAGS) -O3 -funroll-loops -funsafe-loop-optimizations -fira-loop-pressure
CHECK_REG=cu/cu-check-regressions