More portable build as PIE

This commit is contained in:
Pierre Pronchery 2016-05-12 01:35:35 +02:00
parent f86b590a8f
commit 519a31171a

View File

@ -3,7 +3,7 @@ targets=mixer
cflags_force=`pkg-config --cflags libDesktop` cflags_force=`pkg-config --cflags libDesktop`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libDesktop` -lintl ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-Wl,-pie ldflags=-pie
dist=Makefile,mixer.h,window.h,callbacks.h dist=Makefile,mixer.h,window.h,callbacks.h
[mixer] [mixer]