software/common: fix LTO checks.

This commit is contained in:
Florent Kermarrec 2020-03-09 19:08:27 +01:00
parent 2a91deadcb
commit 4656b1b2ad
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ endif
RM ?= rm -f
PYTHON ?= python3
ifneq ($(CPU), lm32)
ifeq ($(CPU), lm32)
LTO = 0
else
LTO = 1
@ -20,7 +20,7 @@ else
CC_normal := $(TARGET_PREFIX)gcc -std=gnu99
CX_normal := $(TARGET_PREFIX)g++
endif
ifneq ($(LTO), 1)
ifeq ($(LTO), 1)
AR_normal := $(TARGET_PREFIX)gcc-ar
else
AR_normal := $(TARGET_PREFIX)ar