🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #963

bison-1.19: Makefile doesn't pass $(DEFS) when compiling files.c

#963
From: J.T. Conklin
Date: Mon, 28 Sep 1992 04:44
26 lines
1463 bytes
Build of bison-1.19 failed on Solaris2, since -DSTDC_HEADERS wasn't
passed to the compile of files.c.

This small patch fixes the problem.

diff -c gnu/bison/Makefile.in:1.1.1.1 gnu/bison/Makefile.in:1.2
*** gnu/bison/Makefile.in:1.1.1.1	Mon Sep 28 11:40:44 1992
--- gnu/bison/Makefile.in	Mon Sep 28 11:40:44 1992
***************
*** 145,151 ****

  # This file is different to pass the parser file names to the compiler.
  files.o: files.c
! 	$(CC) -c $(CFLAGS) $(PFILES) $(srcdir)/files.c $(OUTPUT_OPTION)

  LR0.o: system.h machine.h new.h gram.h state.h
  closure.o: system.h machine.h new.h gram.h
--- 145,152 ----

  # This file is different to pass the parser file names to the compiler.
  files.o: files.c
! 	$(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) $(PFILES) \
! 		$(srcdir)/files.c $(OUTPUT_OPTION)

  LR0.o: system.h machine.h new.h gram.h state.h
  closure.o: system.h machine.h new.h gram.h
Technical Details
Message-ID: <9209281844.AA18928@rangoon.gain.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gain.COM!jtc

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!spool.mu.edu!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!gain.COM!jtc
From: jtc@gain.COM (J.T. Conklin)
Subject: bison-1.19: Makefile doesn't pass $(DEFS) when compiling files.c
Message-ID: <9209281844.AA18928@rangoon.gain.com>
Sender: gnulists@ai.mit.edu
Reply-To: jtc@gain.com
Organization: GAIN Technology Inc., Palo Alto, CA
Distribution: gnu
Date: Mon, 28 Sep 1992 04:44:46 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 27