File: noexecstack

package info (click to toggle)
postgresql-pllua 1%3A2.0.12-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,260 kB
  • sloc: ansic: 14,420; sql: 2,193; makefile: 170; sh: 59; javascript: 38
file content (14 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Mark lua object as not needing an executable stack.
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096038

--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ OBJCOPY ?= objcopy
 # GNU LD and compatible linkers (including recent clang lld) should be
 # fine with -r -b binary, but this does break on some ports.
 
-BIN_LD ?= $(LD) -r -b binary
+BIN_LD ?= $(LD) -r -b binary -znoexecstack
 
 # If BIN_ARCH and BIN_FMT are defined, we assume LD_BINARY is broken
 # and do this instead. This is apparently needed for linux-mips64el,