summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-05-19 13:30:58 +0200
committerStefan Metzmacher <metze@samba.org>2010-05-19 13:59:45 +0200
commitd18fbda0d0bd7d4cd702e1feb80d5803a4afcc39 (patch)
tree855e1a036b303409ccae1d6334c14d226c0567fd /testprogs
parent4ce04f6f6fe5c485045cd870cb9ad2e3f2063659 (diff)
downloadsamba-d18fbda0d0bd7d4cd702e1feb80d5803a4afcc39.tar.gz
samba-d18fbda0d0bd7d4cd702e1feb80d5803a4afcc39.tar.xz
samba-d18fbda0d0bd7d4cd702e1feb80d5803a4afcc39.zip
testprogs/win32: make it possible to specify MINGW_CC
metze
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/win32/npecho/GNUmakefile3
-rw-r--r--testprogs/win32/spoolss/GNUmakefile4
-rw-r--r--testprogs/win32/testmailslot/GNUmakefile3
3 files changed, 7 insertions, 3 deletions
diff --git a/testprogs/win32/npecho/GNUmakefile b/testprogs/win32/npecho/GNUmakefile
index cc08ba74a16..5b4f976949f 100755
--- a/testprogs/win32/npecho/GNUmakefile
+++ b/testprogs/win32/npecho/GNUmakefile
@@ -8,7 +8,8 @@ NPECHO2 = npecho_client2.exe npecho_server2.exe
all: $(NPECHO) $(NPECHO2)
-CC = i586-mingw32msvc-gcc
+MINGW_CC = i586-mingw32msvc-cc
+CC = $(MINGW_CC)
.SUFFIXES: .c .obj .exe
diff --git a/testprogs/win32/spoolss/GNUmakefile b/testprogs/win32/spoolss/GNUmakefile
index e35ca87c224..0321a655e92 100644
--- a/testprogs/win32/spoolss/GNUmakefile
+++ b/testprogs/win32/spoolss/GNUmakefile
@@ -1,5 +1,7 @@
CFLAGS=-I../../../
-CC=i686-pc-mingw32-gcc
+MINGW_CC = i586-mingw32msvc-cc
+CC = $(MINGW_CC)
+
LIBS=-lwinspool
all: testspoolss.exe
diff --git a/testprogs/win32/testmailslot/GNUmakefile b/testprogs/win32/testmailslot/GNUmakefile
index c1c421527e2..a41fb91efb0 100644
--- a/testprogs/win32/testmailslot/GNUmakefile
+++ b/testprogs/win32/testmailslot/GNUmakefile
@@ -1,6 +1,7 @@
INCLUDES=-I.
CFLAGS=$(INCLUDES)
-CC=i586-mingw32msvc-gcc
+MINGW_CC = i586-mingw32msvc-cc
+CC = $(MINGW_CC)
all: testmailslot.exe