diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-01-07 00:36:55 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-01-07 00:36:55 +0000 |
commit | cbd0823fde1b3feb4cfa9ef3a5affca5a4554d5e (patch) | |
tree | 774564c97de455c40428ae5fa23638893fd1bbc0 /build.sh | |
parent | 3c7e81d3baba06cb1bf37de84aeaa6cad277652a (diff) | |
download | build-cbd0823fde1b3feb4cfa9ef3a5affca5a4554d5e.tar.gz build-cbd0823fde1b3feb4cfa9ef3a5affca5a4554d5e.tar.bz2 build-cbd0823fde1b3feb4cfa9ef3a5affca5a4554d5e.tar.xz build-cbd0823fde1b3feb4cfa9ef3a5affca5a4554d5e.zip |
Updated the general rules to use the new regex function, they're safer now,
and everything works. Unfortunately, with this release, you'll have to rebuild
with the shell script...
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | BUSRC="stack.cpp fstring.cpp fbasicstring.cpp hash.cpp list.cpp trace.cpp stream.cpp formatter.cpp util.cpp sharedcore.cpp exceptionbase.cpp heap.cpp archivebase.cpp archive.cpp queue.cpp archival.cpp sio.cpp stdstream.cpp process.cpp plugger.cpp optparser.cpp signals.cpp array.cpp membuf.cpp file.cpp" | 3 | BUSRC="stack.cpp fstring.cpp fbasicstring.cpp hash.cpp list.cpp trace.cpp stream.cpp formatter.cpp util.cpp sharedcore.cpp exceptionbase.cpp heap.cpp archivebase.cpp archive.cpp queue.cpp archival.cpp sio.cpp stdstream.cpp process.cpp plugger.cpp optparser.cpp signals.cpp array.cpp membuf.cpp file.cpp regex.cpp" |
4 | BUHDR="stack.h fstring.h fbasicstring.h hash.h list.h trace.h stream.h formatter.h util.h sharedcore.h exceptionbase.h heap.h archivebase.h archive.h queue.h archival.h sio.h stdstream.h process.h osx_compatibility.h win32_compatibility.h linux_compatibility.h plugger.h singleton.h optparser.h signals.h array.h membuf.h file.h" | 4 | BUHDR="stack.h fstring.h fbasicstring.h hash.h list.h trace.h stream.h formatter.h util.h sharedcore.h exceptionbase.h heap.h archivebase.h archive.h queue.h archival.h sio.h stdstream.h process.h osx_compatibility.h win32_compatibility.h linux_compatibility.h plugger.h singleton.h optparser.h signals.h array.h membuf.h file.h regex.h" |
5 | 5 | ||
6 | function bld() | 6 | function bld() |
7 | { | 7 | { |
@@ -27,7 +27,7 @@ function cmd() | |||
27 | 27 | ||
28 | function gpp() | 28 | function gpp() |
29 | { | 29 | { |
30 | bld "$1" "$2" || cmd CXX "$1" g++ -ggdb -W -Wall -Iminibu -Iminibu/bu -c -o "$1" "$2" | 30 | bld "$1" "$2" || cmd CXX "$1" g++ -ggdb -fPIC -rdynamic -W -Wall -Iminibu -c -o "$1" "$2" |
31 | } | 31 | } |
32 | 32 | ||
33 | if [ ! -z "$1" ]; then | 33 | if [ ! -z "$1" ]; then |
@@ -64,5 +64,5 @@ for F in src/*.c src/*.cpp; do | |||
64 | OUTPUT=${F%.*}.o | 64 | OUTPUT=${F%.*}.o |
65 | gpp "$OUTPUT" "$F" | 65 | gpp "$OUTPUT" "$F" |
66 | done | 66 | done |
67 | bld build src/*.o minibu/src/*.o || cmd LINK build g++ -o build src/*.o minibu/src/*.o -ldl | 67 | bld build src/*.o minibu/src/*.o || cmd LINK build g++ -fPIC -rdynamic -Wl,-export-dynamic -o build src/*.o minibu/src/*.o -ldl |
68 | bld build~ build || cmd CP build~ cp build build~ | 68 | bld build~ build || cmd CP build~ cp build build~ |