Remove __progname; add progname set to argv[0] in each main().

This commit is contained in:
stag019
2015-03-09 13:57:04 -04:00
parent 33ae6d8ca3
commit 6438ae2591
5 changed files with 16 additions and 6 deletions

View File

@@ -87,7 +87,6 @@ src/asm/asmy.h: src/asm/asmy.c
mingw:
$Qenv PATH=/usr/local/mingw32/bin:/bin:/usr/bin:/usr/local/bin \
make WARNFLAGS= CC=gcc CFLAGS="-I/usr/local/mingw32/include \
-D__progname=\\\"\\\" \
${CFLAGS}"
$Qmv rgbasm rgbasm.exe
$Qmv rgblink rgblink.exe