|
Revision 16223, 0.5 kB
(checked in by piotras, 7 months ago)
|
Remove EXTRA_LDFLAGS for mac osx
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
#!/bin/sh |
|---|
| 2 |
|
|---|
| 3 |
CONFIGURE_OPTIONS="$@" |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
if test "x$CC" != "x" ; then |
|---|
| 13 |
COMPILER=$CC |
|---|
| 14 |
else |
|---|
| 15 |
COMPILER=gcc |
|---|
| 16 |
fi |
|---|
| 17 |
|
|---|
| 18 |
[ -f Makefile ] && make distclean |
|---|
| 19 |
|
|---|
| 20 |
phpize |
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
unset CFLAGS |
|---|
| 24 |
export CFLAGS='-g -Wall -fno-strict-aliasing ' |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
./configure $CONFIGURE_OPTIONS |
|---|
| 29 |
|
|---|
| 30 |
make |
|---|
| 31 |
make install |
|---|