List:Internals« Previous MessageNext Message »
From:msvensson Date:May 5 2004 8:00am
Subject:bk commit into 4.1 tree (magnus:1.1811)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of magnus. When magnus does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.1811 04/05/05 10:00:42 magnus@neptunus.(none) +1 -0
  Added new file Defs.FREEBSD.x86.GCC.mk that contains compiler settings for FreeBSD

  ndb/config/Defs.FREEBSD.x86.GCC.mk
    1.1 04/05/05 09:58:17 magnus@neptunus.(none) +56 -0

  ndb/config/Defs.FREEBSD.x86.GCC.mk
    1.0 04/05/05 09:58:17 magnus@neptunus.(none) +0 -0
    BitKeeper file /home/magnus/mysql-4.1-freebsd/ndb/config/Defs.FREEBSD.x86.GCC.mk

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	magnus
# Host:	neptunus.(none)
# Root:	/home/magnus/mysql-4.1-freebsd
--- New file ---
+++ ndb/config/Defs.FREEBSD.x86.GCC.mk	04/05/05 09:58:17
###
#
# Defines
SHELL       := /bin/sh

C++         := gcc$(GCC_VERSION)
CC          := gcc$(GCC_VERSION)
AR_RCS      := $(PURE) ar rcs 
SO          := gcc$(GCC_VERSION) -shared -lpthread -o

MAKEDEPEND  := gcc$(GCC_VERSION) -M
PIC         := -fPIC

RPCGENFLAGS := -M -C -N

ETAGS       := etags
CTAGS       := ctags

###
#
# Flags
# 
# gcc3.3 __THROW problem if -pedantic and -O2
ifeq ($(NDB_VERSION),DEBUG)
CCFLAGS_WARNINGS = -Wno-long-long -Wall -pedantic
else
CCFLAGS_WARNINGS = -Wno-long-long -Wall
endif
# Add these for more warnings -Weffc++ -W
CCFLAGS_TOP = -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
CCFLAGS_TOP += -fno-rtti -fno-exceptions

ifeq (RELEASE, $(NDB_VERSION))
VERSION_FLAGS += -O2
else
ifeq (RELEASE_TRACE, $(NDB_VERSION))
VERSION_FLAGS += -O2 -g
else
VERSION_FLAGS += -g
endif
endif

CCFLAGS = $(CCFLAGS_LOC) $(CCFLAGS_TOP) $(USER_FLAGS) $(VERSION_FLAGS) $(CCFLAGS_WARNINGS)
CFLAGS  = $(CCFLAGS_LOC) $(CCFLAGS_TOP) $(USER_FLAGS) $(VERSION_FLAGS) $(CCFLAGS_WARNINGS) 

LDFLAGS_TOP = 

LDFLAGS = $(LDFLAGS_LOC) $(LDFLAGS_TOP)

LDLIBS = $(LDLIBS_LOC) $(LDLIBS_TOP)

LINK.cc = $(PURE) $(CC) $(CCFLAGS) $(LDFLAGS)

LINK.c = $(PURE) $(CC) $(CFLAGS) $(LDFLAGS)

LDFLAGS_LAST = -lpthread -lrt $(NDB_TOP)/src/common/portlib/gcc.cpp

Thread
bk commit into 4.1 tree (magnus:1.1811)msvensson5 May