Browse Source

Revert "fixed GLFW compiler flag for OSX"

This reverts #841 commit 97160fd970dec330703a1579b8659942ca04b441.
Ahmad Fatoum 6 years ago
parent
commit
e1ecebfff9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Makefile

+ 1 - 1
src/Makefile

@@ -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 = -ObjC
+        GLFW_CFLAGS = -x objective-c
     endif
     endif
     ifeq ($(PLATFORM_OS),BSD)
     ifeq ($(PLATFORM_OS),BSD)
         # FreeBSD, OpenBSD, NetBSD, DragonFly default compiler
         # FreeBSD, OpenBSD, NetBSD, DragonFly default compiler