Sfoglia il codice sorgente

add memory limiting support and CPPFLAGS

Ralf S. Engelschall 22 anni fa
parent
commit
747692b7cb
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      php/php.spec

+ 4 - 1
php/php.spec

@@ -210,6 +210,7 @@ AutoReqProv:  no
 %build
     #   configure package
     cflags="%{l_cflags -O}"
+    cppflags="%{l_cppflags}"
     ldflags=""
     libs=""
 %if "%{with_gdbm}" == "yes"
@@ -239,6 +240,7 @@ AutoReqProv:  no
 
     CC="%{l_cc}" \
     CFLAGS="$cflags" \
+    CPPFLAGS="$cppflags" \
     LDFLAGS="$ldflags" \
     LIBS="$libs" \
     PROG_SENDMAIL="%{l_prefix}/sbin/sendmail" \
@@ -365,7 +367,8 @@ AutoReqProv:  no
         --enable-cgi \
         --enable-force-cgi-redirect \
         --enable-discard-path \
-        --enable-track-vars
+        --enable-track-vars \
+        --enable-memory-limit
 
     #   build package
     %{l_make} %{l_mflags}