1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/cad/cider/files/patch-bk
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

34 lines
1.3 KiB
Plaintext

--- cider/common/util/skeleton/make_std.bd.orig Sun Jan 30 04:31:59 1994
+++ cider/common/util/skeleton/make_std.bd Wed Dec 20 22:54:18 2006
@@ -23,7 +23,7 @@
DIR="$${DIR}"
.c.o:
- $(CC) $(CFLAGS) $(INCLUDE) -c $(SRC_DIR)/$*.c $(OUTPUT) $(ASM_HACK)
+ $(REAL_CC) $(REAL_CFLAGS) $(INCLUDE) -c $(SRC_DIR)/$*.c $(OUTPUT) $(ASM_HACK)
bootstrap: always
-@if test "x$(DIR)" = "xsrc/"; then \
@@ -110,10 +110,10 @@
cfiles="$(CFILES)"; \
for file in $${cfiles}; do \
if test -n "$(INC_SPECIAL)"; then \
- echo "$(CC) /I..\..\include /I..\dev /c $${file}" \
+ echo "$(REAL_CC) /I..\..\include /I..\dev /c $${file}" \
">> ..\..\$(MSC_ERRS)"; \
else \
- echo "$(CC) /I..\..\include /c $${file}" \
+ echo "$(REAL_CC) /I..\..\include /c $${file}" \
">> ..\..\$(MSC_ERRS)"; \
fi; \
done; \
@@ -123,7 +123,7 @@
if test -n "$(MODULE_TARGET)"; then \
cfiles="$(CFILES)"; \
for file in $${cfiles}; do \
- echo "$(CC) /I..\..\..\include /c" $${file} \
+ echo "$(REAL_CC) /I..\..\..\include /c" $${file} \
">> ..\..\..\$(MSC_ERRS)"; \
done; \
echo "lib ..\..\$(LIBRARY)$(NUMBER).lib" \