diff options
author | CoprDistGit <infra@openeuler.org> | 2025-01-06 17:28:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-01-06 17:28:08 +0000 |
commit | ca4f77cca26ae6cd1c64237d2d4b2385df7c3f18 (patch) | |
tree | 2c73d2e2ba309ee74fff805bb8bdc7fe9290f931 /0001-fix-missing-fstack-protector-strong.patch | |
parent | 580238a8ad608b1a39c7a5235a03058ac433e452 (diff) |
automatic import of libtraceeventopeneuler24.03_LTS
Diffstat (limited to '0001-fix-missing-fstack-protector-strong.patch')
-rw-r--r-- | 0001-fix-missing-fstack-protector-strong.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-fix-missing-fstack-protector-strong.patch b/0001-fix-missing-fstack-protector-strong.patch new file mode 100644 index 0000000..ef85098 --- /dev/null +++ b/0001-fix-missing-fstack-protector-strong.patch @@ -0,0 +1,26 @@ +diff --git a/Makefile b/Makefile +index 41ad866..20ae048 100644 +--- a/Makefile ++++ b/Makefile +@@ -127,7 +127,7 @@ export LIBTRACEEVENT_STATIC LIBTRACEEVENT_SHARED EP_HEADERS_DIR + ifdef EXTRA_CFLAGS + CFLAGS := $(EXTRA_CFLAGS) + else +- CFLAGS := -g -Wall ++ CFLAGS := -g -Wall -fstack-protector-strong + endif + + LIBS ?= -ldl +diff --git a/plugins/Makefile b/plugins/Makefile +index 4c8cb17..56b5646 100644 +--- a/plugins/Makefile ++++ b/plugins/Makefile +@@ -68,7 +68,7 @@ INCLUDES = -I. -I.. -I../src -I $(srctree)/include -I $(EP_HEADERS_DIR) $(CONFIG + ifdef EXTRA_CFLAGS + CFLAGS := $(EXTRA_CFLAGS) + else +- CFLAGS := -g -Wall ++ CFLAGS := -g -Wall -fstack-protector-strong + endif + + # Append required CFLAGS |