freebsd-ports/cad/cider/files/patch-bj
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

21 lines
657 B
Plaintext

--- cider/common/util/skeleton/make_def.bd.orig Sat Mar 12 22:05:44 1994
+++ cider/common/util/skeleton/make_def.bd Wed Dec 20 22:46:26 2006
@@ -48,7 +48,7 @@
PRE_PURPOSE = pre_$(PURPOSE)
PURPOSE = all
INCLUDE = -I$(INCLUDE_DIR) -I$(INCLUDE_SPICE_DIR) -I$(TCGMSG_DIR)/include
-CC = cc
+REAL_CC = $(CC)
CIDER_TUNE = -DBUG_ADDR=\"$(BUG_ADDR)\" -DHELP_DIR=\"$(HELP_DIR)\" \
-DSCRIPT_DIR=\"$(SCRIPT_DIR)\" -DNEWS_FILE=\"$(NEWS_FILE)\" \
@@ -76,7 +76,7 @@
LIBRARIES = dev input oned twod spiceitf support
-CFLAGS = $(REAL_CC_OPT) $(SYS_CFLAGS)
+REAL_CFLAGS = $(REAL_CC_OPT) $(SYS_CFLAGS)
LIBRARY_HACK = $(OBJLIB_DIR)/$(LIBRARY).a