Commit bfe3c4d6 authored by Dave Huseby's avatar Dave Huseby
Browse files

adding debug build for linux

parent e31115a9
syntax: glob
stage/
autobuild-parabuild-bootstrap/
.*.swp
......@@ -84,6 +84,9 @@
<string>lib/release/*.a</string>
<string>lib/release/*.so.*</string>
<string>lib/release/*.so</string>
<string>lib/debug/*.a</string>
<string>lib/debug/*.so.*</string>
<string>lib/debug/*.so</string>
</array>
<key>name</key>
<string>linux</string>
......
......@@ -69,17 +69,19 @@ pushd "$top/$EXPAT_SOURCE_DIR"
;;
'linux')
PREFIX="$STAGING_DIR"
CFLAGS="-m32" CC="gcc-4.1" ./configure --prefix="$PREFIX"
CFLAGS="-m32" CC="gcc-4.1" ./configure --prefix="$PREFIX" --libdir="$PREFIX/lib/release"
make
make install
mv "$PREFIX/lib" "$PREFIX/release"
mkdir -p "$PREFIX/lib/"
mv "$PREFIX/release" "$PREFIX/lib/"
mv "$PREFIX/include" "$PREFIX/expat"
mkdir -p "$PREFIX/include"
mv "$PREFIX/expat" "$PREFIX/include"
make distclean
CFLAGS="-m32 -O0 -gstabs+" ./configure --prefix="$PREFIX" --libdir="$PREFIX/lib/debug"
make
make install
;;
esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment