[pkg-wpa-devel] r987 - /wpasupplicant/trunk/debian/rules
kelmo-guest at users.alioth.debian.org
kelmo-guest at users.alioth.debian.org
Sun Jan 6 01:36:18 UTC 2008
Author: kelmo-guest
Date: Sun Jan 6 01:36:18 2008
New Revision: 987
URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=987
Log:
actually honor noopt in DEB_BUILD_OPTIONS by using CFLAGS as arg to make
Modified:
wpasupplicant/trunk/debian/rules
Modified: wpasupplicant/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/rules?rev=987&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/rules (original)
+++ wpasupplicant/trunk/debian/rules Sun Jan 6 01:36:18 2008
@@ -8,15 +8,12 @@
QMAKE=qmake-qt4
WPAGUI=wpa_gui-qt4
-CFLAGS = -Wall -g
+CFLAGS = -MMD -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTALL_PROGRAM += -s
endif
build: build-stamp
@@ -24,7 +21,7 @@
dh_testdir
# wpa_supplicant
- $(MAKE) -C wpa_supplicant
+ $(MAKE) -C wpa_supplicant all CFLAGS=$(CFLAGS)
# manpages - requires docbook, docbook-utils
#$(MAKE) -C wpa_supplicant/doc/docbook man
More information about the Pkg-wpa-devel
mailing list