diff options
Diffstat (limited to 'app-editors/ne/files/ne-3.3.1-respect-CFLAGS.patch')
-rw-r--r-- | app-editors/ne/files/ne-3.3.1-respect-CFLAGS.patch | 14 |
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) \ |