freebsd-ports/cad/cider/files/patch-aj
Martin Wilke 000cebd64d - Fix build with gcc 4.1
PR:		ports/107134
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk> (maintainer)
2007-01-22 08:30:59 +00:00

20 lines
652 B
Text

--- spice/common/util/skeleton/make_def.bd.orig Thu Feb 24 16:07:01 1994
+++ spice/common/util/skeleton/make_def.bd Wed Dec 20 22:41:46 2006
@@ -44,7 +44,7 @@
PRE_PURPOSE = pre_$(PURPOSE)
PURPOSE = all
INCLUDE = -I$(INCLUDE_DIR) -I$(TCGMSG_DIR)/include
-CC = cc
+REAL_CC = $(CC)
SPICE_TUNE = -DBUG_ADDR=\"$(BUG_ADDR)\" -DHELP_DIR=\"$(HELP_DIR)\" \
@@ -85,7 +85,7 @@
# LIBRARIES = ckt cp dev fte hlp inp mfb mfbpc misc ni smp sparse
LIBRARIES = dev ckt cp fte hlp inp $(MFBLIB) misc ni $(SPARSELIB)
-CFLAGS = $(REAL_CC_OPT) $(SYS_CFLAGS)
+REAL_CFLAGS = $(REAL_CC_OPT) $(SYS_CFLAGS)
LIBRARY_HACK = $(OBJLIB_DIR)/$(LIBRARY).a