tcsh-6.20.00-000-add-all-flags-for-gethost-build.patch added
Just a small fix to build process to always use CFLAGS & LDFLAGS.
This commit is contained in:
parent
db3e7ab47a
commit
0d720fd0ec
25
tcsh-6.20.00-000-add-all-flags-for-gethost-build.patch
Normal file
25
tcsh-6.20.00-000-add-all-flags-for-gethost-build.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 8235759d3096654ff2f5c7118bd23f40b7dcbc8f Mon Sep 17 00:00:00 2001
|
||||
From: christos <christos>
|
||||
Date: Sat, 26 Nov 2016 00:14:18 +0000
|
||||
Subject: [PATCH] Add all flags for the gethost build.
|
||||
|
||||
---
|
||||
Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 1ef8cb7..5c30451 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -449,7 +449,7 @@ pure:$(P) ${OBJS}
|
||||
|
||||
gethost: gethost.c sh.err.h tc.const.h sh.h
|
||||
rm -f gethost
|
||||
- ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c
|
||||
+ ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} $(srcdir)/gethost.c
|
||||
|
||||
tc.defs.c: gethost host.defs
|
||||
@rm -f $@.tmp
|
||||
--
|
||||
2.7.4
|
||||
|
@ -1,7 +1,7 @@
|
||||
Name: tcsh
|
||||
Summary: An enhanced version of csh, the C shell
|
||||
Version: 6.20.00
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
|
||||
URL: http://www.tcsh.org/
|
||||
@ -42,6 +42,7 @@ BuildRequires: ncurses-devel
|
||||
|
||||
# Upstream patches -- official upstream patches released by upstream since the
|
||||
# ---------------- last rebase that are necessary for any reason:
|
||||
Patch000: tcsh-6.20.00-000-add-all-flags-for-gethost-build.patch
|
||||
|
||||
|
||||
# Downstream patches -- these should be always included when doing rebase:
|
||||
@ -168,6 +169,10 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 28 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.20.00-2
|
||||
- Added multiple upstream patches:
|
||||
tcsh-6.20.00-000-add-all-flags-for-gethost-build.patch
|
||||
|
||||
* Mon Nov 28 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 6.20.00-1
|
||||
- Rebase to tcsh-6.20.00
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user