2009-05-09 06:01:53 +02:00
|
|
|
#!/bin/sh
|
2007-11-10 11:03:07 +01:00
|
|
|
|
|
|
|
path=`dirname $0`
|
2009-05-09 06:01:53 +02:00
|
|
|
. "$path/SETUP.sh"
|
2007-11-10 11:03:07 +01:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
# Take only #define options - the others are gcc specific.
|
|
|
|
# (real fix is for SETUP.sh not to put gcc specific options in $debug_cflags)
|
|
|
|
DEFS=""
|
|
|
|
for F in $debug_cflags ; do
|
|
|
|
expr "$F" : "^-D" && DEFS="$DEFS $F"
|
|
|
|
done
|
|
|
|
debug_cflags="-O0 -g $DEFS"
|
2007-11-10 11:03:07 +01:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
extra_flags="-m64 -mt -D_FORTEC_ -xlibmopt -fns=no $debug_cflags"
|
|
|
|
extra_configs="$max_configs --with-libevent $debug_configs"
|
2007-11-10 11:03:07 +01:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
warnings=""
|
|
|
|
c_warnings=""
|
|
|
|
cxx_warnings=""
|
|
|
|
base_cxxflags="-noex"
|
2007-11-10 11:03:07 +01:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
CC=cc
|
|
|
|
CFLAGS="-xstrconst"
|
2007-11-10 11:03:07 +01:00
|
|
|
CXX=CC
|
2009-05-09 06:01:53 +02:00
|
|
|
LDFLAGS="-lmtmalloc"
|
2007-11-10 11:03:07 +01:00
|
|
|
|
2009-05-09 06:01:53 +02:00
|
|
|
. "$path/FINISH.sh"
|