diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2016-11-01 22:02:29 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2016-11-02 05:37:28 -0500 |
commit | fc42e192508508b2c49434fd700f833c15eabbb0 (patch) | |
tree | a57e0bf02df139d194588414c8042f01fe88fa1b /net-wireless/crda/files/crda-3.18-cflags.patch | |
parent | ea0c23ff8553b9da77fae8ee3c84459a926c40d7 (diff) | |
download | packages-fc42e192508508b2c49434fd700f833c15eabbb0.tar.gz packages-fc42e192508508b2c49434fd700f833c15eabbb0.tar.bz2 packages-fc42e192508508b2c49434fd700f833c15eabbb0.tar.xz packages-fc42e192508508b2c49434fd700f833c15eabbb0.zip |
net-wireless/crda: Py3, and keyword pycrypto dep
Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
Signed-off-by: Elizabeth Myers <elizabeth@interlinked.me>
Signed-off-by: Horst Burkhardt <horst@adelielinux.org>
Diffstat (limited to 'net-wireless/crda/files/crda-3.18-cflags.patch')
-rw-r--r-- | net-wireless/crda/files/crda-3.18-cflags.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-wireless/crda/files/crda-3.18-cflags.patch b/net-wireless/crda/files/crda-3.18-cflags.patch new file mode 100644 index 000000000..6edbded82 --- /dev/null +++ b/net-wireless/crda/files/crda-3.18-cflags.patch @@ -0,0 +1,33 @@ +From c5b0741ea7fc12e9f6a2a309296ed412a999d0f7 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@chromium.org> +Date: Wed, 4 Mar 2015 14:09:50 -0500 +Subject: [PATCH] clean up CFLAGS handling + +Rather than append -O2 -g all the time to the user's CFLAGS (and thus +clobbering whatever they have set up), initialize the default value to +that and let the user override it entirely. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 5f988f4..8e345a1 100644 +--- a/Makefile ++++ b/Makefile +@@ -26,9 +26,9 @@ PUBKEY_DIR?=pubkeys + RUNTIME_PUBKEY_DIR?=/etc/wireless-regdb/pubkeys + + WERROR = -Werror +-CFLAGS += -O2 -fpic ++CFLAGS ?= -O2 -g ++CFLAGS += -fpic + CFLAGS += -std=gnu99 -Wall $(WERROR) -pedantic +-CFLAGS += -Wall -g + LDLIBREG += -lreg + LDLIBS += $(LDLIBREG) + LDLIBS += -lm +-- +2.3.1 + |