mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-24 08:58:13 +00:00
extend global CFLAGS and LDFLAGS to aid distro packaging
This preserves globally defined CFLAGS and LDFLAGS and simply
extends those variables to aid distro based packaging toolchains
and predefined distro wide defaults like SSP, relro etc.
this re-fixes 7f8aaf7430
after it was
somehow undone ;)
This commit is contained in:
parent
2039e2c06e
commit
62fc436a4f
@ -101,7 +101,7 @@ BINARY_NATIVE := $(PROG_NAME)
|
|||||||
## General compiler and linker options
|
## General compiler and linker options
|
||||||
##
|
##
|
||||||
|
|
||||||
CFLAGS := -pipe -std=c99 -Iinclude/ -IOpenCL/
|
CFLAGS += -pipe -std=c99 -Iinclude/ -IOpenCL/
|
||||||
CFLAGS += -W
|
CFLAGS += -W
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
CFLAGS += -Wextra
|
CFLAGS += -Wextra
|
||||||
@ -137,7 +137,7 @@ CFLAGS += -ftrapv
|
|||||||
|
|
||||||
#CFLAGS += -Wstack-usage=524288
|
#CFLAGS += -Wstack-usage=524288
|
||||||
|
|
||||||
LFLAGS :=
|
LFLAGS := $(LDFLAGS)
|
||||||
|
|
||||||
ifndef DEBUG
|
ifndef DEBUG
|
||||||
CFLAGS += -O2
|
CFLAGS += -O2
|
||||||
|
Loading…
Reference in New Issue
Block a user