summaryrefslogtreecommitdiffstats
path: root/sys-apps/util-linux/files/util-linux-2.12r-fdisk-frame-pointers.patch
blob: 1ad291665003829cb9c6d9c3b5e77d8da45e079e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- fdisk/Makefile.orig	2005-10-15 14:30:56.000000000 +0000
+++ fdisk/Makefile	2005-10-15 14:33:02.000000000 +0000
@@ -6,6 +6,9 @@
 include ../make_include
 include ../MCONFIG
 
+# fdisk when built with ssp and omiting -fomit-frame-pointer causes fdisk/cfdisk/sfdisk to not see the device
+CFLAGS += -fno-omit-frame-pointer
+
 MAN8=
 SBIN=
 CFDISK=cfdisk