blob: e8ac6d3375c37f34175159ac03dc65e58d3f14bd (
plain) (
blame)
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
|
--- makefile_include.mk.orig 2017-08-29 20:27:36 UTC
+++ makefile_include.mk
@@ -17,16 +17,16 @@ ifndef CROSS_COMPILE
CROSS_COMPILE=
endif
-ifeq ($(CC),cc)
- CC = $(CROSS_COMPILE)gcc
-endif
+#ifeq ($(CC),cc)
+# CC = $(CROSS_COMPILE)gcc
+#endif
LD=$(CROSS_COMPILE)ld
AR=$(CROSS_COMPILE)ar
RANLIB=$(CROSS_COMPILE)ranlib
-ifndef MAKE
- MAKE=make
-endif
+#ifndef MAKE
+# MAKE=make
+#endif
CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow
@@ -65,7 +65,7 @@ CFLAGS += -Wno-nullability-completeness
endif
# adjust coverage set
-ifneq ($(filter $(shell arch), i386 i686 x86_64 amd64 ia64),)
+ifneq ($(filter $(shell /sbin/sysctl -b hw.machine_arch), i386 i686 x86_64 amd64 ia64),)
COVERAGE = test_standalone timing
COVERAGE_APP = ./test && ./ltmtest
else
|