Skip to content

Commit 7a774cd

Browse files
Merge pull request #10 from zoltanvb/master
Makefile fix to enable build for "unix-armv7-hardfloat-neon"
2 parents cb4ddfd + 97e4564 commit 7a774cd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ endif
1818

1919
TARGET_NAME := minivmac
2020

21-
ifeq ($(platform), unix)
22-
CC = gcc
21+
ifneq (,$(findstring unix,$(platform)))
22+
CC ?= gcc
2323
TARGET := $(TARGET_NAME)_libretro.so
2424
fpic := -fPIC
2525
SHARED := -shared -Wl,--version-script=libretro/link.T -Wl,--no-undefined -fPIC

0 commit comments

Comments
 (0)