forked from soccera/rdo
Replace --static
flag with -static-pie
This commit is contained in:
parent
ac5b102245
commit
30c3a46310
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
CFLAGS = -Wall -Wextra -Werror -Wl,-z,now
|
CFLAGS = -Wall -Wextra -Werror -Wl,-z,now
|
||||||
CFLAGS_RELEASE = ${CFLAGS} -O2 -s -D_FORTIFY_SOURCE=2
|
CFLAGS_RELEASE = ${CFLAGS} -O2 -s -D_FORTIFY_SOURCE=2
|
||||||
CFLAGS_STATIC = ${CFLAGS} --static -s
|
|
||||||
CFLAGS_DEBUG = ${CFLAGS} -O0 -g -fsanitize=undefined
|
CFLAGS_DEBUG = ${CFLAGS} -O0 -g -fsanitize=undefined
|
||||||
|
CFLAGS_STATIC = ${CFLAGS_RELEASE} -static-pie
|
||||||
LIBS = -lcrypt
|
LIBS = -lcrypt
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue