Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110051571
D48880.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
690 B
Referenced Files
None
Subscribers
None
D48880.diff
View Options
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -121,9 +121,14 @@
tc.defs.c: gethost
DEPENDOBJS+= gethost
-gethost: gethost.c sh.err.h tc.const.h sh.h ${BUILD_TOOLS_META}
+gethost: gethost.c sh.err.h sh.h ${BUILD_TOOLS_META}
@rm -f ${.TARGET}
+ # Define _h_tc_const so that tc.h will skip including tc.const.h.
+ # gethost.c does not actually require any of the definitions in there,
+ # and building tc.const.h requires target headers which are not
+ # available when we need to build gethost.
${HOST_CC:N${CCACHE_BIN}} -o gethost ${LDFLAGS} ${CFLAGS:C/-DHAVE_ICONV//} \
+ -D_h_tc_const \
${TCSHDIR}/gethost.c
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 14, 12:06 AM (9 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16566802
Default Alt Text
D48880.diff (690 B)
Attached To
Mode
D48880: csh: Remove gethost dependency on tc.const.h
Attached
Detach File
Event Timeline
Log In to Comment