mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
fix with gcc10 and overriden CFLAGS
This commit is contained in:
parent
0a17bf5f53
commit
79fa70cfdb
5 changed files with 11 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
||||||
WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversion -Wconversion -Wfloat-conversion -Wshorten-64-to-32 -Wuninitialized -Wmissing-variable-declarations -Wmissing-declarations
|
WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversion -Wconversion -Wfloat-conversion -Wshorten-64-to-32 -Wuninitialized -Wmissing-variable-declarations -Wmissing-declarations
|
||||||
WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align
|
WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align
|
||||||
CFLAGS ?= -g
|
CFLAGS ?= -g
|
||||||
OPTS=-I. -O3 $(CFLAGS) -fcommon
|
OPTS=-I. -O3 $(CFLAGS) -fcommon -Wl,--allow-multiple-definition
|
||||||
# -Wall -g -pedantic
|
# -Wall -g -pedantic
|
||||||
LIBS=-lm
|
LIBS=-lm
|
||||||
DESTDIR ?=
|
DESTDIR ?=
|
||||||
|
|
|
@ -62,7 +62,8 @@ MAINT = @MAINT@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ -fcommon -Wl,--allow-multiple-definition
|
PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ -fcommon -Wl,--allow-multiple-definition
|
||||||
PACKAGE_LIBS = @PACKAGE_LIBS@
|
PACKAGE_LDFLAGS = -fcommon -Wl,--allow-multiple-definition
|
||||||
|
PACKAGE_LIBS = -fcommon -Wl,--allow-multiple-definition @PACKAGE_LIBS@
|
||||||
PKG_CONFIG = @PKG_CONFIG@
|
PKG_CONFIG = @PKG_CONFIG@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ MAINT = @MAINT@
|
||||||
MAKEINFO = @MAKEINFO@
|
MAKEINFO = @MAKEINFO@
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ -fcommon -Wl,--allow-multiple-definition
|
PACKAGE_CFLAGS = @PACKAGE_CFLAGS@ -fcommon -Wl,--allow-multiple-definition
|
||||||
PACKAGE_LIBS = @PACKAGE_LIBS@
|
PACKAGE_LIBS = -fcommon -Wl,--allow-multiple-definition @PACKAGE_LIBS@
|
||||||
PKG_CONFIG = @PKG_CONFIG@
|
PKG_CONFIG = @PKG_CONFIG@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,11 @@ char *hydra_path1 = "./hydra";
|
||||||
char *hydra_path2 = "/usr/local/bin/hydra";
|
char *hydra_path2 = "/usr/local/bin/hydra";
|
||||||
char *hydra_path3 = "/usr/bin/hydra";
|
char *hydra_path3 = "/usr/bin/hydra";
|
||||||
|
|
||||||
|
GtkWidget *wndMain;
|
||||||
|
char *HYDRA_BIN;
|
||||||
|
guint message_id;
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
extern GtkWidget *wndMain;
|
|
||||||
int i;
|
int i;
|
||||||
extern guint message_id;
|
extern guint message_id;
|
||||||
GtkWidget *output;
|
GtkWidget *output;
|
||||||
|
|
|
@ -37,6 +37,6 @@ GdkPixbuf *create_pixbuf(const gchar *filename);
|
||||||
/* This is used to set ATK action descriptions. */
|
/* This is used to set ATK action descriptions. */
|
||||||
void glade_set_atk_action_description(AtkAction *action, const gchar *action_name, const gchar *description);
|
void glade_set_atk_action_description(AtkAction *action, const gchar *action_name, const gchar *description);
|
||||||
|
|
||||||
GtkWidget *wndMain;
|
extern GtkWidget *wndMain;
|
||||||
char *HYDRA_BIN;
|
extern char *HYDRA_BIN;
|
||||||
guint message_id;
|
extern guint message_id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue