]> git.pld-linux.org Git - packages/hostapd.git/commitdiff
fix build flags application; rel 2 master auto/th/hostapd-2.10-2
authorJan Palus <atler@pld-linux.org>
Sat, 22 Jan 2022 08:24:18 +0000 (09:24 +0100)
committerJan Palus <atler@pld-linux.org>
Sat, 22 Jan 2022 08:24:18 +0000 (09:24 +0100)
hostapd.spec

index f24a54e0a9f84fb9cf55fd3635b352a773e80235..e49507746674555e94a8ea68233ee96d6e05a04a 100644 (file)
@@ -7,7 +7,7 @@ Summary(es.UTF-8):      HostAP - actĂșa como un punto de acceso
 Summary(pl.UTF-8):     HostAP - praca jako access point
 Name:          hostapd
 Version:       2.10
-Release:       1
+Release:       2
 License:       BSD
 Group:         Daemons
 Source0:       https://w1.fi/releases/%{name}-%{version}.tar.gz
@@ -68,14 +68,12 @@ IBSS.
 %patch0 -p1
 %patch1 -p1
 
-%{__sed} '/CFLAGS =/{s/-g//; s/-O2/$(OPTCFLAGS)/}' -i hostapd/Makefile
-
 %build
+CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+LDFLAGS="%{rpmldflags}" \
 %{__make} -C hostapd all nt_password_hash hlr_auc_gw \
        V=1 \
        CC="%{__cc}" \
-       OPTCFLAGS="%{rpmcflags} %{rpmcppflags}" \
-       LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.119986 seconds and 4 git commands to generate.