Merge pull request #805 from Rmys/master

wireless-tools:rebuild
This commit is contained in:
Rmys
2018-09-21 11:32:23 +03:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
@@ -0,0 +1,30 @@
--- Makefile
+++ Makefile
@@ -19,7 +19,7 @@
## a local version (non-root).
## Standard distros should comment that option to save space and to
## build libiw.so used by third parties...
-BUILD_STATIC = y
+#BUILD_STATIC = y
## Uncomment this to build without using libm (less efficient).
## This is mostly useful for embedded platforms without maths.
@@ -105,7 +105,7 @@
# Other flags
CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
- -Wpointer-arith -Wcast-qual -Winline -I.
+ -Wpointer-arith -Wcast-qual -Winline -I. $(RPM_OPT_FLAGS) -fno-strict-aliasing
#CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
DEPFLAGS=-MMD
XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG)
@@ -121,6 +121,9 @@
%.so: %.c wireless.h
$(CC) $(XCFLAGS) $(PICFLAG) -c -o $@ $<
+iwlib.o: iwlib.c
+ $(CC) $(XCFLAGS) $(PICFLAG) -c -o $@ $<
+
iwconfig: iwconfig.o $(IWLIB)
iwlist: iwlist.o $(IWLIB)
+8
View File
@@ -17,6 +17,7 @@
<Patch>no-ldconfig.patch</Patch>
<Patch level="0">wireless_tools.27-wireless-man-upd.patch</Patch>
<Patch level="1">wireless-tools-29-makefile.patch</Patch>
<Patch>wireless_tools.diff</Patch>
<!-- Fixes #8583, the problems with non-ASCII char included ESSIDS -->
<!--<Patch level="1">non-ascii-essid-support.patch</Patch>--> <!--Fixed-->
</Patches>
@@ -49,6 +50,13 @@
</Package>
<History>
<Update release="5">
<Date>2018-09-21</Date>
<Version>30</Version>
<Comment>Rebuild</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="4">
<Date>2018-07-15</Date>
<Version>30</Version>