Ticket #23944: patch-macos.inc.diff
File patch-macos.inc.diff, 984 bytes (added by raphael-st (Raphael Straub), 15 years ago) |
---|
-
build/macos.inc
old new 43 43 44 44 ifndef runtime 45 45 #gcc_version:=$(shell gcc -v 2>&1 | grep 'gcc version' | sed -e 's/^gcc version //' | sed -e 's/ .*$$//' ) 46 gcc_version_full=$(shell gcc --version | grep 'gcc'| egrep -o ' [0-9]+\.[0-9]+\.[0-9]+.*' | sed -e 's/^\ //')46 gcc_version_full=$(shell /usr/bin/gcc --version | grep 'gcc'| egrep -o ' [0-9]+\.[0-9]+\.[0-9]+.*' | sed -e 's/^\ //') 47 47 gcc_version=$(shell echo "$(gcc_version_full)" | egrep -o '^[0-9]+\.[0-9]+\.[0-9]+\s*' | head -n 1 | sed -e 's/ *//g') 48 48 os_version:=$(shell /usr/bin/sw_vers -productVersion) 49 49 export runtime:=cc$(gcc_version)_os$(os_version) … … 69 69 DLL=dylib 70 70 LIBEXT=dylib 71 71 72 def_prefix = $(if $(findstring 32,$(arch)),mac32,mac64)72 def_prefix = $(if $(findstring 64,$(arch)),mac64,mac32) 73 73 74 74 TBB.DEF = $(tbb_root)/src/tbb/$(def_prefix)-tbb-export.def 75 75 TBB.DLL = libtbb$(DEBUG_SUFFIX).$(DLL)