Minimize differences between GCC base and macOS variant

This commit is contained in:
Christophe de Dinechin 2017-11-08 12:20:34 +01:00
parent 5daca154c9
commit d2cc85ba6c
1 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#******************************************************************************
# config.macosx-clang.mk Recorder project
# config.macosx-clang.mk Recorder project
#******************************************************************************
#
# File Description:
@ -29,10 +29,8 @@ include $(BUILD)config.gnu.mk
CFLAGS_ssev4= -msse4
DLL_EXT= .dylib
MAKE_LIB= $(LIBTOOL) -static $(LINK_INPUTS) -o $@
MAKE_DLL= $(LD) $(LDFLAGS) $(LDFLAGS_$*) $(LINK_INPUTS) \
-dynamiclib -undefined suppress -flat_namespace -o $@
MAKE_DLL= $(LD) -shared $(LINK_INPUTS) -o $(shell pwd)/$@
# On MacOSX, we will use basic frameworks e.g. for string and filesystem functions
LDFLAGS_macosx-clang= -framework CoreFoundation -framework CoreServices