From 6fec3f0d5ce1ca33f8536c95369c46c7d445f248 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 28 Mar 2012 11:32:08 +0200 Subject: add -lssp in case of stack protection --- package/dmidecode/patches/patch-Makefile.orig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'package/dmidecode/patches/patch-Makefile.orig') diff --git a/package/dmidecode/patches/patch-Makefile.orig b/package/dmidecode/patches/patch-Makefile.orig index fcd3c6dd7..cf37262cb 100644 --- a/package/dmidecode/patches/patch-Makefile.orig +++ b/package/dmidecode/patches/patch-Makefile.orig @@ -1,14 +1,16 @@ --- dmidecode-2.11.orig/Makefile 2010-10-11 16:08:16.000000000 +0200 -+++ dmidecode-2.11/Makefile 2011-10-17 19:21:58.000000000 +0200 -@@ -12,7 +12,7 @@ ++++ dmidecode-2.11/Makefile 2011-10-17 19:22:27.000000000 +0200 +@@ -12,8 +12,8 @@ # (at your option) any later version. # -CC = gcc +-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ +CC ?= gcc - CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ ++CFLAGS ?= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \ -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef #CFLAGS += -DBIGENDIAN + #CFLAGS += -DALIGNMENT_WORKAROUND @@ -26,7 +26,7 @@ CFLAGS += -O2 LDFLAGS = -- cgit v1.2.3