Makefile: turn off PIE
parent
08748b5c3f
commit
0c6adc2765
1
Makefile
1
Makefile
|
@ -24,6 +24,7 @@ CFLAGS?=-g -Werror -Wall -Wstrict-prototypes
|
||||||
CFLAGS+=-D_GNU_SOURCE -std=gnu99 -DAPK_VERSION=\"$(FULL_VERSION)\"
|
CFLAGS+=-D_GNU_SOURCE -std=gnu99 -DAPK_VERSION=\"$(FULL_VERSION)\"
|
||||||
|
|
||||||
LDFLAGS?=-g
|
LDFLAGS?=-g
|
||||||
|
LDFLAGS+=-nopie
|
||||||
LIBS=/usr/lib/libz.a
|
LIBS=/usr/lib/libz.a
|
||||||
|
|
||||||
ifeq ($(STATIC),yes)
|
ifeq ($(STATIC),yes)
|
||||||
|
|
Loading…
Reference in New Issue