Browse Source

Reinstate macOS logic

tags/v0.3.0^2
Alex Arslan 7 years ago
parent
commit
8f811a9312
No known key found for this signature in database GPG Key ID: EC409F3AF54AD659
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      Makefile.system

+ 8
- 3
Makefile.system View File

@@ -23,11 +23,16 @@ ifneq ($(findstring cmd.exe,$(SHELL)),)
ifeq ($(shell where $(CC) 2>NUL),)
CC = gcc
endif
else # POSIX
else # POSIX-ish
ifeq ($(shell command -v $(CC) 2>/dev/null),)
ifeq ($(shell uname -s),Darwin)
CC = clang
# EXTRALIB += -Wl,-no_compact_unwind
else
CC = gcc
endif
endif
endif # Darwin
endif # CC exists
endif # Shell is sane

endif # CC is set to default



Loading…
Cancel
Save