mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-12-06 11:17:19 +00:00
makefile fix: make complains "Extraneous text after `else' directive" and cause incorrect platform judgement on osx
This commit is contained in:
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -12,11 +12,11 @@ SYS := $(shell gcc -dumpmachine)
|
||||
ifneq (, $(findstring linux, $(SYS)))
|
||||
# Linux
|
||||
CFLAGS += -Wno-unused-but-set-variable
|
||||
else ifneq(, $(findstring cygwin, $(SYS)))
|
||||
else ifneq (, $(findstring cygwin, $(SYS)))
|
||||
# Cygwin
|
||||
CFLAGS += -Wno-unused-but-set-variable -DUSE_FILE32API
|
||||
LIBS += -liconv -static-libgcc -static-libstdc++
|
||||
else ifneq(, $(findstring darwin, $(SYS)))
|
||||
else ifneq (, $(findstring darwin, $(SYS)))
|
||||
# OS X
|
||||
LIBS += -liconv
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user