summaryrefslogtreecommitdiff
path: root/app-editors/ne/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /app-editors/ne/files
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'app-editors/ne/files')
-rw-r--r--app-editors/ne/files/ne-3.3.1-respect-CFLAGS.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-editors/ne/files/ne-3.3.1-respect-CFLAGS.patch b/app-editors/ne/files/ne-3.3.1-respect-CFLAGS.patch
new file mode 100644
index 000000000000..13e47b9be2b1
--- /dev/null
+++ b/app-editors/ne/files/ne-3.3.1-respect-CFLAGS.patch
@@ -0,0 +1,14 @@
+diff --git a/src/makefile b/src/makefile
+index ae358fe..76bfe1d 100644
+--- a/src/makefile
++++ b/src/makefile
+@@ -96,8 +96,7 @@ endif
+
+ # Test for GCC
+ ifneq (,$(findstring gcc,$(shell $(CC) 2>&1)))
+-GCCFLAGS=-std=c99 -Wall -Wno-parentheses -fno-strict-aliasing -flto=auto -ffat-lto-objects -Wp,-D_FORTIFY_SOURCE=2
+-LDFLAGS=-flto=auto
++GCCFLAGS=-std=c99 -Wall -Wno-parentheses -fno-strict-aliasing -Wp,-D_FORTIFY_SOURCE=2
+ endif
+
+ CFLAGS=$(GCCFLAGS) \