For Darwin do not build fat binaries by default
Now that we detect target arch rather than build arch it seems even less consistent than before to build fat binaries by default.
This commit is contained in:
parent
53caa9ca78
commit
2cfb2714a8
1 changed files with 1 additions and 5 deletions
|
|
@ -538,12 +538,9 @@ endif
|
|||
#=== flags and paths for Darwin ================================================
|
||||
|
||||
|
||||
# On OSX we try to build fat binaries by default. It is assumed that OSX i386
|
||||
# can build for ppc and OSX x86_64 can't. TODO: try to refine this condition.
|
||||
# LLVM-clang doesn't support -fcheck-new, therefore this flag is only used when
|
||||
# compiling with g++.
|
||||
|
||||
|
||||
ifeq ($(system), Darwin)
|
||||
pkglibdir = $(HOME)/Library/Pd
|
||||
pdincludepath := $(firstword $(wildcard \
|
||||
|
|
@ -563,12 +560,11 @@ ifeq ($(system), Darwin)
|
|||
cxx.flags := -fcheck-new
|
||||
endif
|
||||
version.flag := $(filter $(cflags), -mmacosx-version-min=%)
|
||||
arch := $(target.arch)
|
||||
ifeq ($(target.arch), i386)
|
||||
arch := ppc i386 x86_64
|
||||
version.flag = -mmacosx-version-min=10.4
|
||||
endif
|
||||
ifeq ($(target.arch), x86_64)
|
||||
arch := i386 x86_64
|
||||
version.flag = -mmacosx-version-min=10.6
|
||||
endif
|
||||
ifneq ($(filter -mmacosx-version-min=%, $(cflags)),)
|
||||
|
|
|
|||
Loading…
Reference in a new issue