For Darwin build fat binaries when extension=d_fat
This gives a convenient and logical approach to still build fat binaries. Only ppc is left out in the cold.
This commit is contained in:
parent
69e2002ac8
commit
65e9fc78d7
1 changed files with 5 additions and 1 deletions
|
|
@ -559,7 +559,11 @@ ifeq ($(system), Darwin)
|
||||||
ifneq ($(filter %g++, $(CXX)),)
|
ifneq ($(filter %g++, $(CXX)),)
|
||||||
cxx.flags := -fcheck-new
|
cxx.flags := -fcheck-new
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(extension), d_fat)
|
||||||
|
arch := i386 x86_64
|
||||||
|
else
|
||||||
arch := $(target.arch)
|
arch := $(target.arch)
|
||||||
|
endif
|
||||||
ifneq ($(filter -mmacosx-version-min=%, $(cflags)),)
|
ifneq ($(filter -mmacosx-version-min=%, $(cflags)),)
|
||||||
version.flag := $(filter -mmacosx-version-min=%, $(cflags))
|
version.flag := $(filter -mmacosx-version-min=%, $(cflags))
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue