Skip to content

Commit e607b7e

Browse files
committed
don't include final hyphen in PLATFORM_PREFIX
1 parent 5b8dbac commit e607b7e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ CXXFLAGS += $(NO_CET)
1212

1313
OLDCC := $(CC)
1414
ifdef PLATFORM_PREFIX
15-
CC = $(PLATFORM_PREFIX)gcc
16-
CXX = $(PLATFORM_PREFIX)g++
17-
LD = $(PLATFORM_PREFIX)ld
18-
AR = $(PLATFORM_PREFIX)ar
15+
CC = $(PLATFORM_PREFIX)-gcc
16+
CXX = $(PLATFORM_PREFIX)-g++
17+
LD = $(PLATFORM_PREFIX)-ld
18+
AR = $(PLATFORM_PREFIX)-ar
1919
endif
2020
# run c preprocessor with any cflags to get cross compilation result, then run regular compile in native
2121
ABI := $(shell ./abiname.sh "$(CC)" "$(CFLAGS)")

0 commit comments

Comments
 (0)