software/common: fix LTO checks.
This commit is contained in:
parent
2a91deadcb
commit
4656b1b2ad
|
@ -7,7 +7,7 @@ endif
|
||||||
RM ?= rm -f
|
RM ?= rm -f
|
||||||
PYTHON ?= python3
|
PYTHON ?= python3
|
||||||
|
|
||||||
ifneq ($(CPU), lm32)
|
ifeq ($(CPU), lm32)
|
||||||
LTO = 0
|
LTO = 0
|
||||||
else
|
else
|
||||||
LTO = 1
|
LTO = 1
|
||||||
|
@ -20,7 +20,7 @@ else
|
||||||
CC_normal := $(TARGET_PREFIX)gcc -std=gnu99
|
CC_normal := $(TARGET_PREFIX)gcc -std=gnu99
|
||||||
CX_normal := $(TARGET_PREFIX)g++
|
CX_normal := $(TARGET_PREFIX)g++
|
||||||
endif
|
endif
|
||||||
ifneq ($(LTO), 1)
|
ifeq ($(LTO), 1)
|
||||||
AR_normal := $(TARGET_PREFIX)gcc-ar
|
AR_normal := $(TARGET_PREFIX)gcc-ar
|
||||||
else
|
else
|
||||||
AR_normal := $(TARGET_PREFIX)ar
|
AR_normal := $(TARGET_PREFIX)ar
|
||||||
|
|
Loading…
Reference in New Issue