shithub: openh264

Download patch

ref: ab1778a523ae7ee8721f173231ded6048d5251a5
parent: ed4db186a1b1477394c9f4126a6460de61df1998
parent: cf0ac5504bdb162a8718048885c36ffb41e1ff11
author: Ethan Hugg <[email protected]>
date: Thu Jul 24 07:31:54 EDT 2014

Merge pull request #1213 from jld/noexecstack

Don't request executable stacks for Linux GMP plugin.

--- a/Makefile
+++ b/Makefile
@@ -193,6 +193,9 @@
 ifeq ($(HAVE_GMP_API),Yes)
 plugin: $(LIBPREFIX)$(MODULE_NAME).$(SHAREDLIBSUFFIX)
 LIBRARIES += $(LIBPREFIX)$(MODULE_NAME).$(SHAREDLIBSUFFIX)
+ifeq (linux,$(OS))
+LDFLAGS += -Wl,-z,noexecstack
+endif
 else
 plugin:
 	@echo "./gmp-api : No such file or directory."