2021-10-10 17:17:14 +02:00
|
|
|
--- ./Makefile.orig 2021-10-10 17:13:11.147988944 +0200
|
|
|
|
+++ ./Makefile 2021-10-10 17:12:41.424662424 +0200
|
|
|
|
@@ -76,7 +76,7 @@
|
|
|
|
CFLAGS += -Wchar-subscripts -funsigned-char
|
|
|
|
CFLAGS += -MMD -MF $(OBJDIR)/$(@F).d
|
|
|
|
ifdef CONFIG_DEFAULT_AR
|
|
|
|
- AR=$(CROSS_PREFIX)ar
|
|
|
|
+ AR ?= $(CROSS_PREFIX)ar
|
|
|
|
else
|
|
|
|
ifdef CONFIG_LTO
|
|
|
|
AR=$(CROSS_PREFIX)llvm-ar
|
|
|
|
@@ -95,7 +95,7 @@
|
|
|
|
AR=$(CROSS_PREFIX)ar
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
-STRIP=$(CROSS_PREFIX)strip
|
|
|
|
+STRIP ?= $(CROSS_PREFIX)strip
|
|
|
|
ifdef CONFIG_WERROR
|
|
|
|
CFLAGS+=-Werror
|
|
|
|
endif
|
|
|
|
@@ -177,7 +177,7 @@
|
2020-08-07 11:34:54 +02:00
|
|
|
HOST_LIBS=-lm -ldl -lpthread
|
|
|
|
LIBS=-lm
|
|
|
|
ifndef CONFIG_WIN32
|
|
|
|
-LIBS+=-ldl -lpthread
|
|
|
|
+LIBS+=-ldl
|
|
|
|
endif
|
|
|
|
|
2021-10-10 17:17:14 +02:00
|
|
|
$(OBJDIR):
|