Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kaworu/2fd658b346b3836580f1 to your computer and use it in GitHub Desktop.
Save kaworu/2fd658b346b3836580f1 to your computer and use it in GitHub Desktop.
From 4a9c5206069942042271e8ac4bd9fb05f95874f7 Mon Sep 17 00:00:00 2001
From: Alexandre Perrin <[email protected]>
Date: Wed, 28 May 2014 10:21:17 +0200
Subject: [PATCH] wpa_cli: Makefile changes to compile without WARNS=0
---
usr.sbin/802_11/wpa_cli/Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/usr.sbin/802_11/wpa_cli/Makefile b/usr.sbin/802_11/wpa_cli/Makefile
index a3f91bc..5bcdbdb 100644
--- a/usr.sbin/802_11/wpa_cli/Makefile
+++ b/usr.sbin/802_11/wpa_cli/Makefile
@@ -9,12 +9,9 @@ SRCS= common.c edit.c eloop.c os_unix.c wpa_cli.c wpa_ctrl.c wpa_debug.c
MAN= wpa_cli.8
-WARNS= 0
-
CFLAGS+= -DCONFIG_CTRL_IFACE
CFLAGS+= -DCONFIG_CTRL_IFACE_UNIX
# enable use of d_type to identify unix domain sockets
-CFLAGS+= -D_DIRENT_HAVE_D_TYPE
CFLAGS+= -DCONFIG_READLINE
LDADD+= -ledit -ltermcap
--
1.9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment