4dd2c1be5a
Fixed rpmlint warning - added -fpie and -pie to compilation and linking of consaver OBS-URL: https://build.opensuse.org/request/show/102578 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=33
13 lines
390 B
Diff
13 lines
390 B
Diff
Index: mc-4.7.5.3/src/consaver/Makefile.am
|
|
===================================================================
|
|
--- mc-4.7.5.3.orig/src/consaver/Makefile.am
|
|
+++ mc-4.7.5.3/src/consaver/Makefile.am
|
|
@@ -4,4 +4,6 @@ pkglibexec_PROGRAMS = cons.saver
|
|
|
|
cons_saver_SOURCES = cons.saver.c
|
|
|
|
-cons_saver_CFLAGS= -I$(top_srcdir)
|
|
+cons_saver_CFLAGS= -fpie -I$(top_srcdir)
|
|
+
|
|
+cons_saver_LDFLAGS= -pie
|