1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-24 00:51:05 +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:
anthraxx 2016-12-06 20:39:04 +01:00
parent 2039e2c06e
commit 62fc436a4f

View File

@ -101,7 +101,7 @@ BINARY_NATIVE := $(PROG_NAME)
## General compiler and linker options
##
CFLAGS := -pipe -std=c99 -Iinclude/ -IOpenCL/
CFLAGS += -pipe -std=c99 -Iinclude/ -IOpenCL/
CFLAGS += -W
CFLAGS += -Wall
CFLAGS += -Wextra
@ -137,7 +137,7 @@ CFLAGS += -ftrapv
#CFLAGS += -Wstack-usage=524288
LFLAGS :=
LFLAGS := $(LDFLAGS)
ifndef DEBUG
CFLAGS += -O2