summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorStephane Marchesin <stephane.marchesin@gmail.com>2010-12-19 23:50:00 -0800
committerStephane Marchesin <stephane.marchesin@gmail.com>2010-12-19 23:50:00 -0800
commit0b54940b7334ee1c25fcecab0c00f0bf5c23c0a0 (patch)
tree981f3d3f639c73ce5d2721df8a1a8021f8f02aa5 /build
parent32b62fb19254793a231f221ec87958c6183755ed (diff)
Add a «summary» mode. Fix bugs.
Diffstat (limited to 'build')
-rwxr-xr-xbuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/build b/build
index c01faaf..989e400 100755
--- a/build
+++ b/build
@@ -3,7 +3,8 @@
rm -f libGL.so
gcc -O2 gen.c -o gen `xml2-config --libs --cflags` &&\
./gen &&\
-gcc -O2 -s -c -fPIC -DPIC main.c -o main.lo &&\
-ld -Bshareable -o ./libGL.so main.lo -lm -ldl
+gcc -Os -s -c -fPIC -DPIC main.c -o main.lo &&\
+ld -Bshareable -o ./libGL.so main.lo -lm -ldl &&\
+strip libGL.so
#rm -f main.c main.lo gen