summaryrefslogtreecommitdiff
path: root/pkg/launcher/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-14 23:54:20 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 16:36:59 +0100
commitbf12655dffd3ec6db77e3d139bca734b09faff22 (patch)
tree9e2b0b272758337c16fade682695e525c06ae554 /pkg/launcher/Makefile
parent5abd127f3780ca2078962ace489bd4c32b5d545d (diff)
[pkg] add --no-pie to CFLAGS for wrapper
-Resolves: #9232
Diffstat (limited to 'pkg/launcher/Makefile')
-rw-r--r--pkg/launcher/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/launcher/Makefile b/pkg/launcher/Makefile
index 8948e6b4..2114ec99 100644
--- a/pkg/launcher/Makefile
+++ b/pkg/launcher/Makefile
@@ -1,5 +1,5 @@
CC = gcc
-CFLAGS = -g -Wall -fPIE
+CFLAGS = -g -Wall -no-pie -fstack-protector-strong
STRIP = strip
default: bitmask
@@ -8,7 +8,7 @@ bitmask.o: bitmask-launcher.c
$(CC) $(CFLAGS) -c bitmask-launcher.c -o bitmask.o
bitmask: bitmask.o
- $(CC) bitmask.o -o bitmask
+ $(CC) $(CFLAGS) bitmask.o -o bitmask
$(STRIP) bitmask
clean:
-rm -f bitmask.o