Skip to content

Commit 3785c0e

Browse files
authored
Merge pull request #2663 from martin-frbg/issue2654
Respect predefined defaults for AR, AS, LD and RANLIB
2 parents f2d8879 + abf6707 commit 3785c0e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile.system

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,10 @@ endif
263263

264264
ARFLAGS =
265265
CPP = $(COMPILER) -E
266-
AR = $(CROSS_SUFFIX)ar
267-
AS = $(CROSS_SUFFIX)as
268-
LD = $(CROSS_SUFFIX)ld
269-
RANLIB = $(CROSS_SUFFIX)ranlib
266+
AR ?= $(CROSS_SUFFIX)ar
267+
AS ?= $(CROSS_SUFFIX)as
268+
LD ?= $(CROSS_SUFFIX)ld
269+
RANLIB ?= $(CROSS_SUFFIX)ranlib
270270
NM = $(CROSS_SUFFIX)nm
271271
DLLWRAP = $(CROSS_SUFFIX)dllwrap
272272
OBJCOPY = $(CROSS_SUFFIX)objcopy

0 commit comments

Comments
 (0)