Sfoglia il codice sorgente

try to fix building again

Ralf S. Engelschall 24 anni fa
parent
commit
fd4af38000
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 4 4
      socat/socat.spec

+ 4 - 4
socat/socat.spec

@@ -61,10 +61,10 @@ AutoReqProv:  no
     %setup -q -n socat-%{V_major}
     %setup -q -n socat-%{V_major}
 
 
 %build
 %build
-    CC="%{l_cc}" \
-    CFLAGS="%{l_cflags -O}" \
-    CPPFLAGS="-I%{l_prefix}/include" \
-    LDFLAGS="-L%{l_prefix}/lib" \
+    CC="%{l_cc} %{l_cflags -O} %{l_cppflags}" \
+    CFLAGS="%{l_cflags -O} %{l_cppflags}" \
+    CPPFLAGS="%{l_cppflags}" \
+    LDFLAGS="%{l_ldflags}" \
     ./configure \
     ./configure \
         --prefix=%{l_prefix} \
         --prefix=%{l_prefix} \
         --enable-msglevel=debug \
         --enable-msglevel=debug \