aboutsummaryrefslogtreecommitdiffstats
path: root/cad/cider/files/patch-ak
blob: 22801695c1f5b12e8474a98db2ef7619d17b5d03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- spice/common/util/skeleton/make_std.bd.orig Sun Jan 30 04:16:16 1994
+++ spice/common/util/skeleton/make_std.bd  Wed Dec 20 22:59:47 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"              \