Merge pull request #841 from iskolbin/master

[build] fixed GLFW compiler flag for OSX
This commit is contained in:
Ray 2019-05-17 17:38:46 +02:00 committed by GitHub
commit 0ec46e8976
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),OSX) ifeq ($(PLATFORM_OS),OSX)
# OSX default compiler # OSX default compiler
CC = clang CC = clang
GLFW_CFLAGS = -x objective-c GLFW_CFLAGS = -ObjC
endif endif
ifeq ($(PLATFORM_OS),BSD) ifeq ($(PLATFORM_OS),BSD)
# FreeBSD, OpenBSD, NetBSD, DragonFly default compiler # FreeBSD, OpenBSD, NetBSD, DragonFly default compiler