Commits

Tuukka Norri committed 29dfefa

PostgreSQL deployment target, GCC versions
- Added the GCC versions for individual architectures to 10.5.xcconfig, since the PostgreSQL build script uses them.

  • Participants
  • Parent commits bb7807b

Comments (0)

Files changed (2)

Tools/PostgreSQL/build-postgresql.sh

 			powerpc-apple-darwin
 			"${PLATFORM_DEVELOPER_BIN_DIR}/gcc-${GCC_VERSION_ppc}"
 			"-arch ppc"
-			"-arch ppc -mmacosx-version-min=10.4 -isysroot ${SDKROOT}"
-			"-arch ppc -Wl,-syslibroot,${SDKROOT} -mmacosx-version-min=10.4"
+			"-arch ppc -mmacosx-version-min=10.5 -isysroot ${SDKROOT}"
+			"-arch ppc -mmacosx-version-min=10.5 -Wl,-syslibroot,${SDKROOT}"
 			""
 			""
 		)
 			i386-apple-darwin
 			"${PLATFORM_DEVELOPER_BIN_DIR}/gcc-${GCC_VERSION_i386}"
 			"-arch i386"
-			"-arch i386 -mmacosx-version-min=10.4 -isysroot ${SDKROOT}"
-			"-arch i386 -Wl,-syslibroot,${SDKROOT} -mmacosx-version-min=10.4"
+			"-arch i386 -mmacosx-version-min=10.5 -isysroot ${SDKROOT}"
+			"-arch i386 -mmacosx-version-min=10.5 -Wl,-syslibroot,${SDKROOT}"
 			""
 			""
 		)
 			"${PLATFORM_DEVELOPER_BIN_DIR}/gcc-${GCC_VERSION_ppc64}"
 			"-arch ppc64"
 			"-arch ppc64 -mmacosx-version-min=10.5 -isysroot ${SDKROOT}"
-			"-arch ppc64 -Wl,-syslibroot,${SDKROOT} -mmacosx-version-min=10.5"
+			"-arch ppc64 -mmacosx-version-min=10.5 -Wl,-syslibroot,${SDKROOT}"
 			""
 			""
 		)
 			"${PLATFORM_DEVELOPER_BIN_DIR}/gcc-${GCC_VERSION_x86_64}"
 			"-arch x86_64"
 			"-arch x86_64 -mmacosx-version-min=10.5 -isysroot ${SDKROOT}"
-			"-arch x86_64 -Wl,-syslibroot,${SDKROOT} -mmacosx-version-min=10.5"
+			"-arch x86_64 -mmacosx-version-min=10.5 -Wl,-syslibroot,${SDKROOT}"
 			""
 			""
 		)
 	elif [ "armv6" = "$my_architecture" ]
+
 	then
 		opts=(
 			armv6

common-xcconfig/10.5.xcconfig

 GCC_VERSION = 4.2
+
+// For the PostgreSQL build script.
+GCC_VERSION_ppc = 4.2
+GCC_VERSION_i386 = 4.2
+GCC_VERSION_ppc64 = 4.2
+GCC_VERSION_x86_64 = 4.2
+
 MACOSX_DEPLOYMENT_TARGET = 10.5