1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-28 01:18:35 +00:00

Older gcc do not accept _GNU_SOURCE as a replacement for -std=c99

This commit is contained in:
jsteube 2016-09-07 20:41:57 +02:00
parent 25726e4f4e
commit 5c5f3264dd

View File

@ -94,7 +94,7 @@ VERSION_TAG := $(shell test -d .git && git describe --tags --dirty=
## Compiler flags
##
CFLAGS += -pipe -W -Wall -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/
CFLAGS += -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/
ifndef DEBUG
CFLAGS += -O2