blob: c12700d0d6f74f7c7c4861513e4e1269a1408516 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff -Nuar a/src/runtime/GNUmakefile b/src/runtime/GNUmakefile
--- a/src/runtime/GNUmakefile 2017-01-22 20:43:20.000000000 +0100
+++ b/src/runtime/GNUmakefile 2017-02-09 15:42:22.340029401 +0100
@@ -39,18 +39,6 @@
# OS_SRC, OS_LIBS, OS_CLEAN_FILES
include Config
-# Disable PIE when possible
-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e no-pie),)
-CFLAGS += -fno-pie
-LINKFLAGS += -no-pie
-LDFLAGS += -no-pie
-endif
-ifneq ($(shell $(CC) -dumpspecs 2>/dev/null | grep -e -nopie),)
-CFLAGS += -fno-pie
-LINKFLAGS += -nopie
-LDFLAGS += -nopie
-endif
-
COMMON_SRC = alloc.c backtrace.c breakpoint.c coreparse.c dynbind.c \
funcall.c gc-common.c globals.c interr.c interrupt.c \
largefile.c monitor.c os-common.c parse.c print.c purify.c \
|