commit 787fe229bbd79214b7b31ae1b4fa7f2c6ee73da1
Author: Jakub Bogusz <[email protected]>
Date:   Wed Oct 20 20:38:11 2021 +0200

    - pass CFLAGS to fix debuginfo extraction (debugedit can't handle DWARD 
version 5)

 ipv6calc.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/ipv6calc.spec b/ipv6calc.spec
index dc33756..9aa4edb 100644
--- a/ipv6calc.spec
+++ b/ipv6calc.spec
@@ -40,18 +40,19 @@ IPv6 do DNS lub odpytywaniu w rodzaju nslookup -q=ANY 
`ipv6calc -r
 %setup -q
 
 %build
-#CFLAGS="%{rpmcflags}"
-#CXXFLAGS="%{rpmcxxflags}"
 %configure \
        %{!?with_geoip:--disable-geoip2} \
        %{?with_ip2location:--enable-ip2location 
--with-ip2location-dyn-lib=libIP2Location.so.1} 
 
+# makefiles don't propagate configure CFLAGS nor CFLAGS from initial make 
environment
+export CFLAGS="%{rpmcflags} %{rpmcppflags}"
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
-    DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ipv6calc.git/commitdiff/787fe229bbd79214b7b31ae1b4fa7f2c6ee73da1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to