瀏覽代碼

Merge pull request #841 from iskolbin/master

[build] fixed GLFW compiler flag for OSX
pull/842/head
Ray 6 年之前
committed by GitHub
父節點
當前提交
0ec46e8976
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 = -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

Loading…
取消
儲存