Fix building PIE on Linux and FreeBSD (possibly more)
This commit is contained in:
parent
e09c17e030
commit
b96cf7c9ec
|
@ -1,7 +1,7 @@
|
|||
targets=vncviewer
|
||||
#cppflags=-DWITH_LIBVIEW
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
#for Gtk+ 2
|
||||
cflags_force=`pkg-config --cflags gtk-vnc-1.0`
|
||||
ldflags_force=`pkg-config --libs gtk-vnc-1.0`
|
||||
|
|
Loading…
Reference in New Issue
Block a user