mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
boards/x86-multiboot-common: Use gcc-ar when building with LTO
This commit is contained in:
parent
0e5522950a
commit
efedaa1a43
@ -32,7 +32,11 @@ export CPU = x86
|
||||
|
||||
# toolchain config
|
||||
export CC ?= $(PREFIX)gcc
|
||||
export AR ?= $(PREFIX)ar
|
||||
ifeq ($(LTO),1)
|
||||
export AR = $(PREFIX)gcc-ar
|
||||
else
|
||||
export AR = $(PREFIX)ar
|
||||
endif
|
||||
export AS ?= $(PREFIX)as
|
||||
export RANLIB ?= $(PREFIX)ranlib
|
||||
export LINK ?= $(RIOTBASE)/boards/x86-multiboot-common/dist/link $(PREFIX)gcc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user