2
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-08-22 10:17:06 +00:00

set gcc flags to avoid lintian hardening-no-relro warning

This commit is contained in:
Dietmar Maurer 2015-02-28 08:18:01 +01:00
parent 1c00de2b76
commit dc0ff83b9d

View File

@ -20,7 +20,7 @@ SOURCES=screen.c event_loop.c input.c spiceterm.c auth-pve.c
all: ${PROGRAMS} all: ${PROGRAMS}
spiceterm: ${SOURCES} ${HEADERS} spiceterm.c spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
gcc -Werror -Wall -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server,libsasl2) gcc -Werror -Wall -Wl,-z,relro -Wtype-limits ${SOURCES} -g -O2 -o $@ -lutil $(shell pkg-config) $(shell pkg-config --cflags --libs gthread-2.0,spice-protocol,spice-server,libsasl2)
genfont: genfont.c genfont: genfont.c
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz