root/trunk/midgard/apis/php5/mkall

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 # test for apxs later
6 #APXSOK=`apxs 2>&1 | grep -c Usage`
7 #if test $APXSOK -ne 1 ; then
8 #   echo apxs not in PATH
9 #   exit 1
10 #fi
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 # Be more verbose with warnings
23 unset CFLAGS
24 export CFLAGS='-g -Wall -fno-strict-aliasing '
25
26 # Enable the last parameter for MMP with cache features fixed
27 #./configure $CONFIGURE_OPTIONS # --without-old-mod-midgard
28 ./configure $CONFIGURE_OPTIONS
29
30 make
31 make install
Note: See TracBrowser for help on using the browser.