Skip to content

Commit

Permalink
macos fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Darky2020 committed Mar 8, 2024
1 parent 80a97ac commit dbb75e9
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 6 deletions.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ModPlug-XMMS and libmodplug are now in the public domain.
7 changes: 7 additions & 0 deletions source/enet/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
CFLAGS=-O3 -fomit-frame-pointer
override CFLAGS:= $(CFLAGS) -Iinclude $(shell ./check_cflags.sh $(CC) $(CFLAGS))

PLATFORM= $(shell uname -s | tr '[:lower:]' '[:upper:]')

ifneq (,$(findstring DARWIN,$(PLATFORM)))
OSXMIN= 10.9
override CFLAGS:= -arch x86_64 -mmacosx-version-min=$(OSXMIN) $(CFLAGS)
endif

OBJS= \
callbacks.o \
compress.o \
Expand Down

0 comments on commit dbb75e9

Please sign in to comment.