2 # Copyright (C) 2002, Earnie Boyd <earnie@users.sf.net>
3 # This file is a part of msysDVLPR
4 # http://www.mingw.org/msysdvlpr.shtml
7 # Desc: Build a package for MSYS release.
11 # ccflags can be set external to control use of new flags without needing to
12 # change this file. E.G.: ccflags='-O0 -g -fnative-struct -fgnu-linker'.
15 ccflags
='-O2 -s -fnative-struct -fgnu-linker -finline-functions'
18 # Setting arch or archlist can be used to test changes for one arch build
19 # E.G.: export arch=i686
24 archlist
='i386 i586 i686'
30 # You can set msysinstalldir so that the build installs to the project store
31 # directory. E.G.: export msysinstalldir=/prj/msys/nstl.
32 if [ -z $msysinstalldir ]
34 msysinstalldir
=`pwd`/nstl
40 make CFLAGS
="$ccflags -march=$arch" CXXFLAGS
="$ccflags -march=$arch"
41 make install prefix
=$msysinstalldir/$arch
46 # Add package options for configuring and building the release
47 # Add release management routines.