Fix build on Linux

This commit is contained in:
Pierre Pronchery 2017-12-16 00:39:40 +01:00
parent 88f38a1a0d
commit 21ddfb3461
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ subdirs=common
targets=download,surfer
#cppflags=-D EMBEDDED
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
dist=Makefile,callbacks.h,common.h,download.h,ghtml.h,surfer.h,ghtml-gtkhtml.c,ghtml-gtkmozembed.c,ghtml-gtktextview.c,ghtml-webkit.c
[download]

View File

@ -5,7 +5,7 @@ cppflags_force=-I ../src
cflags_force=`pkg-config --cflags libDesktop`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libDesktop`
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,helper.h,subst.sh
[bookmark]