8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Strip executables in prod build

This commit is contained in:
aafemt 2005-12-28 06:58:28 +00:00
parent 99c93793cb
commit e036d9a77f
3 changed files with 10 additions and 10 deletions

View File

@ -26,7 +26,7 @@
# Contributor(s):
#
#
# $Id: make.defaults,v 1.43 2005-12-18 17:56:43 alexpeshkoff Exp $
# $Id: make.defaults,v 1.44 2005-12-28 06:58:28 aafemt Exp $
#
@ -74,6 +74,12 @@ GEN_SRC=$(OBJ)
RealFirebirdPath = @NEW_FIREBIRD_DIR@
#____________________________________________________________________________
IsProdTypeBuild = @PROD_BUILD_FLG@
# If this is defined then we are building a production
# release with debug and optimization
FirebirdInstallPrefix = @prefix@
CpuType=@CPU_TYPE@

View File

@ -26,18 +26,11 @@
# Contributor(s):
#
#
# $Id: make.rules,v 1.27 2005-07-22 10:26:16 aafemt Exp $
# $Id: make.rules,v 1.28 2005-12-28 06:58:28 aafemt Exp $
#
#____________________________________________________________________________
IsProdTypeBuild = @PROD_BUILD_FLG@
# If this is defined then we are building a production
# release with debug and optimization
#____________________________________________________________________________
# Please don't use compiler/platform specific flags here - nmcc 02-Nov-2002
CFLAGS:= $(CFLAGS) -I$(SRC_ROOT)/include/gen -I$(SRC_ROOT)/include -I$(SRC_ROOT)/vulcan -I$(ROOT)/extern/icu/source/common -I$(ROOT)/extern/icu/source/i18n -DNAMESPACE=Vulcan

View File

@ -35,7 +35,8 @@ LIB_LINK_OPTIONS+=-Wl,--enable-stdcall-fixup
# Strip symbols from release versions to decrease size
ifeq ($(IsProdTypeBuild),Y)
LINK_OPTS += -Wl,-s
LINK_OPTS+=-Wl,-s
LIB_LINK_OPTIONS+=-Wl,-s
endif
# Generation of fbclient_ms.lib
LIB_LINK_IMPLIB:=-Wl,--out-implib,firebird/lib/fbclient_ms.lib