wireless-tools/wireless_tools.dif
Ismail Dönmez 2ecb172dc5 Accepting request 79608 from home:dirkmueller:branches:hardware
- update to 30.pre9:
  o Create iwlib-private.h to minimise namespace pollution [iwlib]
  o More fix to the 64->32bit band-aid for encode [iwlib]
  o Update udev rule to remove a warning [19-udev-ifrename.rules]
    (from Ritesh Raj Sarraf <rrs@researchut.com> and Guus Sliepen)
  o Propagate error codes out of main for get [iwconfig/iwlist/iwspy]
   (From Guus Sliepen <guus@debian.org>)
  o Remove spurious commands from Czech iwconfig manpage.

OBS-URL: https://build.opensuse.org/request/show/79608
OBS-URL: https://build.opensuse.org/package/show/hardware/wireless-tools?expand=0&rev=17
2011-08-23 19:51:31 +00:00

31 lines
938 B
Plaintext

--- 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)