summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile.mgw
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2003-10-23 13:28:05 +0000
committerDaniel Borca <[email protected]>2003-10-23 13:28:05 +0000
commit79fa6b98818bc0e6e1bfb221aeccbe3b08d7ae8a (patch)
treeec627b8c60ab9db49b0763522d00cfedac5d95dd /src/mesa/Makefile.mgw
parent76692c5ce2a5fab129c91f870e9b9459edd9838e (diff)
more MinGW fixes
Diffstat (limited to 'src/mesa/Makefile.mgw')
-rw-r--r--src/mesa/Makefile.mgw8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/Makefile.mgw b/src/mesa/Makefile.mgw
index 0834908ec14..33ea665d29c 100644
--- a/src/mesa/Makefile.mgw
+++ b/src/mesa/Makefile.mgw
@@ -335,10 +335,10 @@ x86/gen_matypes.exe: x86/gen_matypes.c
$(CC) -o $@ $(CFLAGS) -s $<
# [dBorca] Hack alert:
-# use standard API, to work around Win32 @x names
-# also glapi_x86.S is protected against __WIN32__
-main/dispatch.o: main/dispatch.c
- $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
+# glapi_x86.S needs some adjustments
+# in order to generate correct entrypoints
+x86/glapi_x86.o: x86/glapi_x86.S
+ $(CC) -o $@ $(CFLAGS) -U__WIN32__ -DSTDCALL_API -c $<
clean:
-$(call UNLINK,array_cache/*.o)