8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 00:43:02 +01:00
firebird-mirror/builds/posix/prefix.darwin_i386

40 lines
1.6 KiB
Plaintext
Raw Normal View History

# The contents of this file are subject to the Interbase Public
# License Version 1.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy
# of the License at http://www.Inprise.com/IPL.html
#
# Software distributed under the License is distributed on an
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
# or implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code was created by Inprise Corporation
# and its predecessors. Portions created by Inprise Corporation are
#
# Copyright (C) 2000 Inprise Corporation
# All Rights Reserved.
# Contributor(s): ______________________________________.
# Start of file prefix.darwin: $(VERSION) @PLATFORM@
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
#
# Default build from 10.7 using Clang
2009-10-20 16:02:32 +02:00
# Use this file to create a 32bit version of Firebird for intel
# Instructions if running MacOSX 10.7
2009-10-20 16:02:32 +02:00
# 1. edit configure.in so that MAKEFILE_PREFIX=darwin_i386
# 2. dnl the CPU_TYPE
2009-10-21 03:01:04 +02:00
# 3. edit extern/icu/source/config and set the right 32bit flags (-arch i386)
2011-06-15 10:35:30 +02:00
# 4. for CFLAGS, CXXFLAGS, LDFLAGS export '-m32 -arch i386'
# 5. export MACOSX_DEPLOYMENT_TARGET=10.7
MACOSX_DEPLOYMENT_TARGET=10.7
2007-12-19 14:25:49 +01:00
export MACOSX_DEPLOYMENT_TARGET
PROD_FLAGS=-O1 -DDARWIN -pipe -MMD -fPIC -fno-common -arch i386 -mmacosx-version-min=10.7
DEV_FLAGS=-ggdb -DDARWIN -pipe -MMD -fPIC -fno-common -Wall -arch i386 -mmacosx-version-min=10.7 -Wno-non-virtual-dtor
CXXFLAGS:=$(CXXFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden -fno-weak
2007-03-09 11:32:58 +01:00
2021-12-17 13:06:50 +01:00
EXE_LINK_OPTIONS+=-m32
LD_FLAGS+=-m32 -arch i386
2007-03-09 11:32:58 +01:00
include $(ROOT)/gen/darwin.defaults