blob: ebbdef303bc1b9f8a819affa8bea148484afe51d [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From b22f244732cd0f475af2f82fc7eecec49f90623b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 1 Jul 2017 00:01:50 -0700
4Subject: [PATCH 2/2] Make way for respecting flags from environment
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Makefile | 4 +---
11 1 file changed, 1 insertion(+), 3 deletions(-)
12
13diff --git a/Makefile b/Makefile
14index 5af1689..af699d2 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -17,14 +17,12 @@
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21-CC= gcc
22 #SKFLAGS= -g -DSYSV -Wall
23 #LDFLAGS= -g
24-SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
25+SKFLAGS = $(CFLAGS) $(CPPFLAGS) -DSYSV -Wall -fno-strength-reduce
26 # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
27 # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
28 # $(shell getconf LFS_SKFLAGS)
29-LDFLAGS= -s
30
31 # Look where your install program is.
32 INSTALL = /usr/bin/install
33--
342.13.2
35